[CMake] OpenMP compiler flag questoin

Johannes Stallkamp johannes.stallkamp at rub.de
Fri Nov 13 08:21:18 EST 2009


Hello,

if I use
FIND_PACKAGE( OpenMP )

I get the variables OpenMP_C_FLAGS and OpenMP_CXX_FLAGS correctly set
to "/openmp" for VC2005.
Is it correct behaviour that these are not automatically added to the
CMAKE_CXX_FLAGS_[RELEASE|DEBUG....] variables (and thus, the option is
not configured in VC's project file)?

Regards
Johannes



More information about the CMake mailing list