aboutsummaryrefslogtreecommitdiff
path: root/lld/lib
diff options
context:
space:
mode:
authorMichele Scandale <michele.scandale@gmail.com>2020-07-17 16:43:05 -0700
committerFangrui Song <maskray@google.com>2020-07-17 16:43:17 -0700
commit53880b8cb9c61e81457d13c0adefe51ff41664fa (patch)
tree68327e1c7dd669f5b4d8723b81a6d458aad12011 /lld/lib
parent63c081e73d3d6d75ab6c6eefa37a69d73f46ed0f (diff)
downloadllvm-project-53880b8cb9c61e81457d13c0adefe51ff41664fa.tar.gz
[CMake] Make `intrinsics_gen` dependency unconditional.
The `intrinsics_gen` target exists in the CMake exports since r309389 (see LLVMConfig.cmake.in), hence projects can depend on `intrinsics_gen` even it they are built separately from LLVM. Reviewed By: MaskRay, JDevlieghere Differential Revision: https://reviews.llvm.org/D83454
Diffstat (limited to 'lld/lib')
-rw-r--r--lld/lib/Core/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/lld/lib/Core/CMakeLists.txt b/lld/lib/Core/CMakeLists.txt
index 2d4d9ded0886..d5e507536b72 100644
--- a/lld/lib/Core/CMakeLists.txt
+++ b/lld/lib/Core/CMakeLists.txt
@@ -1,7 +1,3 @@
-if(NOT LLD_BUILT_STANDALONE)
- set(tablegen_deps intrinsics_gen)
-endif()
-
add_lld_library(lldCore
DefinedAtom.cpp
Error.cpp
@@ -24,5 +20,5 @@ add_lld_library(lldCore
${LLVM_PTHREAD_LIB}
DEPENDS
- ${tablegen_deps}
+ intrinsics_gen
)