forked from bartvdbraak/blender
CMake: check for LLVM static library by default
Even when static option isn't enabled, use the static library path if the dynamic library isn't found.
This commit is contained in:
parent
3b3b35546e
commit
257268a1bd
@ -64,7 +64,9 @@ if(LLVM_STATIC)
|
||||
PATHS ${LLVM_LIBPATH})
|
||||
else()
|
||||
find_library(LLVM_LIBRARY
|
||||
NAMES LLVM-${LLVM_VERSION}
|
||||
NAMES
|
||||
LLVM-${LLVM_VERSION}
|
||||
LLVMAnalysis # check for the static library as a fall-back
|
||||
PATHS ${LLVM_LIBPATH})
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user