diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-08-06 14:48:06 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-08-06 14:48:06 +0400 |
commit | 7ae187c5e42dd5de6dda59aae8d87f48df308195 (patch) | |
tree | 06ff7d9d5ac27903830feb1fbf03e43e869e7674 /source/creator | |
parent | 9ece95de48cc89f6b4bae5fe0ebd2cbba6f134ff (diff) |
OSX/cmake: allow for llvm dynamic builds too, but prefer static
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index bd9fc90abaf..e427fff0e02 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -826,6 +826,13 @@ elseif(APPLE) ) endif() + if(WITH_LLVM AND NOT LLVM_STATIC) + install( + FILES ${LIBDIR}/llvm/lib/libLLVM-3.4.dylib + DESTINATION ${TARGETDIR}/blender.app/Contents/MacOS + ) + endif() + # python if(WITH_PYTHON AND NOT WITH_PYTHON_MODULE AND NOT WITH_PYTHON_FRAMEWORK) # the python zip is first extract as part of the build process, |