mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-05 22:55:04 -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\".")
|
set(LLVM_TARGETS_TO_BUILD "X86" CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
|
||||||
endif()
|
endif()
|
||||||
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)
|
list (APPEND LLVM_ADDITIONAL_LIBS IntelJITEvents)
|
||||||
endif()
|
endif()
|
||||||
if(LLVM_USE_PERF)
|
if(LLVM_USE_PERF OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
list (APPEND LLVM_ADDITIONAL_LIBS PerfJITEvents)
|
list (APPEND LLVM_ADDITIONAL_LIBS PerfJITEvents)
|
||||||
endif()
|
endif()
|
||||||
llvm_map_components_to_libnames(LLVM_LIBS
|
llvm_map_components_to_libnames(LLVM_LIBS
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user