OSX/cmake: force LLVM_STATIC ON, to fix linking issues
This commit is contained in:
parent
5336e68e11
commit
e4146e6fa3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue