diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index d2255bbd894..1ce8a8d1c4c 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -979,14 +979,13 @@ elseif(APPLE) blenderplayer.app/Contents/ ) - if(WITH_OPENMP AND CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4') + if(WITH_OPENMP AND OPENMP_CUSTOM) install( - FILES ${LIBDIR}/openmp/lib/libiomp5.dylib - DESTINATION blenderplayer.app/Contents/Resources/lib/ + FILES ${LIBDIR}/openmp/lib/libomp.dylib + DESTINATION blenderplayer.app/Contents/Resources/lib ) endif() - # python if(WITH_PYTHON AND NOT WITH_PYTHON_FRAMEWORK) # Copy the python libs into the install directory |