mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Fix builds on additional platforms
LLVMIntelJITEvents is awailable only Windows/Linux
This commit is contained in:
parent
7b24df0957
commit
9cfdd8afea
1 changed files with 5 additions and 1 deletions
6
3rdparty/llvm.cmake
vendored
6
3rdparty/llvm.cmake
vendored
|
@ -61,7 +61,11 @@ if(WITH_LLVM)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
set(LLVM_LIBS LLVMMCJIT LLVMX86CodeGen LLVMX86AsmParser LLVMIntelJITEvents)
|
||||
set(LLVM_LIBS LLVMMCJIT LLVMX86CodeGen LLVMX86AsmParser)
|
||||
|
||||
if(WIN32 OR CMAKE_SYSTEM MATCHES "Linux")
|
||||
set(LLVM_LIBS ${LLVM_LIBS} LLVMIntelJITEvents)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM MATCHES "Linux")
|
||||
set(LLVM_LIBS ${LLVM_LIBS} LLVMPerfJITEvents)
|
||||
|
|
Loading…
Add table
Reference in a new issue