[CMake] How to test whether a struct has a specific member?

Alexander Neundorf a.neundorf-work at gmx.net
Thu May 10 08:49:33 EDT 2007


On Thursday 10 May 2007 08:03, wj wrote:
> A struct may have different members on different platforms. How to test?

Try this (from KDE svn):

http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/CheckStructMember.cmake?view=markup

Alex


More information about the CMake mailing list