mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 00:18:23 +00:00
Fix builds on additional platforms
LLVMIntelJITEvents is awailable only Windows/Linux
This commit is contained in:
parent
7b24df0957
commit
9cfdd8afea
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…
Reference in New Issue
Block a user