[Bf-blender-cvs] [e4146e6] master: OSX/cmake: force LLVM_STATIC ON, to fix linking issues

Jens Verwiebe noreply at git.blender.org
Tue Aug 5 20:16:05 CEST 2014


Commit: e4146e6fa349bc880377a5200fc897a5afad431a
Author: Jens Verwiebe
Date:   Tue Aug 5 20:15:44 2014 +0200
Branches: master
https://developer.blender.org/rBe4146e6fa349bc880377a5200fc897a5afad431a

OSX/cmake: force LLVM_STATIC ON, to fix linking issues

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8194c6..b53a990 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




More information about the Bf-blender-cvs mailing list