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