mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 09:39:46 -06:00
Fixes LLVM library detection.
I must have had a dirty cmake configuration which didn't encounter this issue. Make sure we are using LLVM_DEFINITIONS to know where we are linking to libraries at. Link against libLLVM-${VERSION}, the other one was linking us against static libraries...
This commit is contained in:
@ -411,6 +411,7 @@ if(NOT ANDROID)
|
||||
set(HAS_LLVM 1)
|
||||
|
||||
include_directories(${LLVM_INCLUDE_DIRS})
|
||||
add_definitions(${LLVM_DEFINITIONS})
|
||||
|
||||
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user