mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
fix link error on IntelJITEvents
This commit is contained in:
parent
fb2aeb40ca
commit
1fde52a1f5
1 changed files with 2 additions and 2 deletions
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…
Add table
Reference in a new issue