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 CMakeLists.txt found at
https://github.com/thmxv/blender-ocio/blob/master/CMakeLists.txt
But this did not work (still need to manually set). I see the
ENABLE_OPENMP_SUPPORT setting in the ALL_BUILD options, but under the
specific target I still see "No" for the "Enable OpenMP support".
Thanks.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake