From e4146e6fa349bc880377a5200fc897a5afad431a Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Tue, 5 Aug 2014 20:15:44 +0200 Subject: OSX/cmake: force LLVM_STATIC ON, to fix linking issues --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3