Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-28 15:04:20 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-28 15:05:40 +0300
commitf992c92872743cb1ab6ae773eeae19d816a92274 (patch)
tree36f1b5482ff953904125997b5f7e998e0a219257 /source
parent66d03f61b887f8ccf1592a232ebf89b43e2c4001 (diff)
Fix blenderplayer build after OpenMP changes.
Diffstat (limited to 'source')
-rw-r--r--source/creator/CMakeLists.txt7
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