mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-03 01:48:15 +00:00

Summary: Fixes PR37053. Reviewers: uabelho, gchatelet Subscribers: mgorny, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D45436 llvm-svn: 329781
16 lines
281 B
CMake
16 lines
281 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
native
|
|
)
|
|
|
|
add_llvm_tool(llvm-exegesis
|
|
llvm-exegesis.cpp
|
|
)
|
|
|
|
add_subdirectory(lib)
|
|
target_link_libraries(llvm-exegesis PRIVATE LLVMExegesis)
|
|
|
|
if(LLVM_ENABLE_LIBPFM AND HAVE_LIBPFM)
|
|
target_link_libraries(llvm-exegesis PRIVATE pfm)
|
|
endif()
|