Re: [CMake] Xcode4 and OpenMP

2011-10-20 Thread Daniel Dekkers
Shouldn't it be SET_TARGET_PROPERTIES( ${TARGET} PROPERTIES XCODE_ATTRIBUTE_ENABLE_OPENMP_SUPPORT YES )? On Oct 19, 2011, at 6:15 PM, Kieran Parsons wrote: > I am having difficulty with enabling OpenMP on Xcode 4.0.2 (cmake 2.8.6). I > need to manually set the "Enable OpenMP support" build opti

[CMake] Xcode4 and OpenMP

2011-10-19 Thread Kieran Parsons
I am having difficulty with enabling OpenMP on Xcode 4.0.2 (cmake 2.8.6). I need to manually set the "Enable OpenMP support" build option (once I do everything is fine). I want to set this directly from CMakeLists.txt. I tried SET(CMAKE_XCODE_ATTRIBUTE_ENABLE_OPENMP_SUPPORT "Yes") based on CMak