1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Force STATIC_LINK_LLVM on with BUILD_LLVM=ON

This commit is contained in:
RipleyTom 2023-05-01 13:26:30 +02:00 committed by Ivan
parent 0524f4a540
commit 9989fb4bbc

2
3rdparty/llvm.cmake vendored
View File

@ -36,7 +36,7 @@ if(WITH_LLVM)
set(LLVM_DIR "${CMAKE_BINARY_DIR}/3rdparty/llvm/llvm_build/lib/cmake/llvm/")
set(CMAKE_CXX_FLAGS ${CXX_FLAGS_OLD})
option(STATIC_LINK_LLVM "" ON)
set(STATIC_LINK_LLVM ON CACHE BOOL "Link against LLVM statically. This will get set to ON if you build LLVM from the submodule." FORCE)
# now tries to find LLVM again
find_package(LLVM 16.0 CONFIG)