summaryrefslogtreecommitdiff
path: root/bolt/unittests
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-08-25 11:13:46 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-08-25 11:13:46 -0400
commit34fe6ddce11e4e0e31a96669ab5f200e5fb8a747 (patch)
tree0fa4c894cd7c1719c4edee013eb812fbaa22033e /bolt/unittests
parentf7bbe099c996aa38ceee701eea9bd81cfe6066e3 (diff)
downloadllvm-34fe6ddce11e4e0e31a96669ab5f200e5fb8a747.tar.gz
Revert "[CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited"
This reverts commit ad8c34bc3089d847a09bb740f7a58c96073e0959.
Diffstat (limited to 'bolt/unittests')
-rw-r--r--bolt/unittests/Core/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/bolt/unittests/Core/CMakeLists.txt b/bolt/unittests/Core/CMakeLists.txt
index 9e9c1013b21f..0e78d0a2746f 100644
--- a/bolt/unittests/Core/CMakeLists.txt
+++ b/bolt/unittests/Core/CMakeLists.txt
@@ -20,7 +20,7 @@ target_link_libraries(CoreTests
if ("AArch64" IN_LIST LLVM_TARGETS_TO_BUILD)
include_directories(
${LLVM_MAIN_SRC_DIR}/lib/Target/AArch64
- ${LLVM_LIBRARY_DIR}/Target/AArch64
+ ${LLVM_BINARY_DIR}/lib/Target/AArch64
)
target_compile_definitions(CoreTests PRIVATE AARCH64_AVAILABLE)
@@ -29,7 +29,7 @@ endif()
if ("X86" IN_LIST LLVM_TARGETS_TO_BUILD)
include_directories(
${LLVM_MAIN_SRC_DIR}/lib/Target/X86
- ${LLVM_LIBRARY_DIR}/Target/X86
+ ${LLVM_BINARY_DIR}/lib/Target/X86
)
target_compile_definitions(CoreTests PRIVATE X86_AVAILABLE)