[Insight-users] Accessing the CMAKE_CXX_FLAGS that ITK was built with?

David Doria daviddoria at gmail.com
Wed May 9 07:37:59 EDT 2012


I use ITK in my project, but since I use the gnu++0x flag, ITK must
have also been built with this flag. Is there a way to check if this
is the case? Something like:

if(NOT ITK_used_gnu++0x)
 message(fatal_error "You must build ITK with gnu++0x!")
endif()

Thanks,

David


More information about the Insight-users mailing list