diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-28 15:04:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-28 15:05:40 +0300 |
commit | f992c92872743cb1ab6ae773eeae19d816a92274 (patch) | |
tree | 36f1b5482ff953904125997b5f7e998e0a219257 /source/creator | |
parent | 66d03f61b887f8ccf1592a232ebf89b43e2c4001 (diff) |
Fix blenderplayer build after OpenMP changes.
Diffstat (limited to 'source/creator')
-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 |