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

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Wed Sep 25 12:16:07 EDT 2013


On 25/09/13 14:16, Brad King wrote:
> That should work, though I suggest using the 'x' trick:
> 
>   if("x${ARGN}" STREQUAL "x")
>     set(_lang C)
>   elseif("x${ARGN}" MATCHES "^xLANGUAGE;([a-zA-Z]+)$")


Done, thanks!
I updated the CheckStructHasMember_CXX topic.


Cheers,
 Daniele




More information about the cmake-developers mailing list