mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-10 19:41:30 -06:00
fix link error on IntelJITEvents
This commit is contained in:
parent
fb2aeb40ca
commit
1fde52a1f5
4
3rdparty/llvm/CMakeLists.txt
vendored
4
3rdparty/llvm/CMakeLists.txt
vendored
@ -73,10 +73,10 @@ if(WITH_LLVM)
|
||||
set(LLVM_TARGETS_TO_BUILD "X86" CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
|
||||
endif()
|
||||
endif()
|
||||
if(LLVM_USE_INTEL_JITEVENTS)
|
||||
if(LLVM_USE_INTEL_JITEVENTS OR (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND COMPILER_X86))
|
||||
list (APPEND LLVM_ADDITIONAL_LIBS IntelJITEvents)
|
||||
endif()
|
||||
if(LLVM_USE_PERF)
|
||||
if(LLVM_USE_PERF OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
list (APPEND LLVM_ADDITIONAL_LIBS PerfJITEvents)
|
||||
endif()
|
||||
llvm_map_components_to_libnames(LLVM_LIBS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user