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
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-10-07 19:24:13 +0300
committerRay Molenkamp <github@lazydodo.com>2019-10-07 19:24:13 +0300
commitd2e4b13b9c4a9fa61cfcdc26a8d1dd8e5a4ac557 (patch)
tree3066d1cc859d60fa83b7bcb353180751481fa1d5 /source/creator/CMakeLists.txt
parentfc9e921495312ace23af11a69e738a8a7adbaeed (diff)
CMake: Add support for building with OpenMP support for clang on windows.
mostly minor c/cxx/linker flags, only tested with clang 9.0.0 Differential Revision: https://developer.blender.org/D5976 Reviewers: brecht, jesterking
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r--source/creator/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 8fb4d2905f4..52d930143da 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -674,6 +674,13 @@ elseif(WIN32)
set(BLENDER_TEXT_FILES_DESTINATION ".")
+ if(WITH_OPENMP AND MSVC_CLANG)
+ install(
+ FILES ${CLANG_OPENMP_DLL}
+ DESTINATION "."
+ )
+ endif()
+
if(WITH_PYTHON)
string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${PYTHON_VERSION})