Changeset View
Changeset View
Standalone View
Standalone View
bolt/unittests/Core/CMakeLists.txt
set(LLVM_LINK_COMPONENTS | |||||
BOLTRewrite | |||||
) | |||||
add_bolt_unittest(CoreTests | add_bolt_unittest(CoreTests | ||||
MCPlusBuilder.cpp | MCPlusBuilder.cpp | ||||
) | ) | ||||
target_link_libraries(CoreTests | |||||
PRIVATE | |||||
LLVMBOLTRewrite | |||||
) | |||||
string(FIND "${LLVM_TARGETS_TO_BUILD}" "AArch64" POSITION) | string(FIND "${LLVM_TARGETS_TO_BUILD}" "AArch64" POSITION) | ||||
if (NOT ${POSITION} EQUAL -1) | if (NOT ${POSITION} EQUAL -1) | ||||
include_directories( | include_directories( |