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:
authorJens Verwiebe <info@jensverwiebe.de>2014-08-05 22:15:44 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-08-05 22:15:44 +0400
commite4146e6fa349bc880377a5200fc897a5afad431a (patch)
tree92d113da3c3cdf7468c471f0c484e3ed37a022f5 /CMakeLists.txt
parent5336e68e110252b1da18bf8749b62b6a9f01c10a (diff)
OSX/cmake: force LLVM_STATIC ON, to fix linking issues
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8194c6a9c4..b53a990fbff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1883,6 +1883,7 @@ elseif(APPLE)
PATHS ${LLVM_LIBPATH})
if(LLVM_LIBRARY AND LLVM_DIRECTORY AND LLVM_LIBPATH)
+ set(LLVM_STATIC ON CACHE BOOL "ON" FORCE) # we use always the static libs default, else gives linking errors
if(LLVM_STATIC)
# if static LLVM libraries were requested, use llvm-config to generate
# the list of what libraries we need, and substitute that in the right