[cmake-developers] CheckStructHasMember does not support C++ only structs

Brad King brad.king at kitware.com
Tue Sep 24 08:18:07 EDT 2013


On 09/24/2013 03:50 AM, Daniele E. Domenichelli wrote:
> It looks like that the signatures are not very consistent...

Yes, but they all have room for optional keyword-based arguments
following the main arguments.  How about

 CHECK_STRUCT_HAS_MEMBER (<struct> <member> <header> <variable>
                          [LANGUAGE <language>])

?  The LANGUAGE keyword will give the argument clear meaning.

-Brad



More information about the cmake-developers mailing list