aboutsummaryrefslogtreecommitdiff
path: root/lld/MinGW
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/MinGW
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/MinGW')
-rw-r--r--lld/MinGW/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/lld/MinGW/CMakeLists.txt b/lld/MinGW/CMakeLists.txt
index bb0fe4a3887d..1dc04d73eca6 100644
--- a/lld/MinGW/CMakeLists.txt
+++ b/lld/MinGW/CMakeLists.txt
@@ -2,10 +2,6 @@ set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(MinGWOptionsTableGen)
-if(NOT LLD_BUILT_STANDALONE)
- set(tablegen_deps intrinsics_gen)
-endif()
-
add_lld_library(lldMinGW
Driver.cpp
@@ -19,5 +15,5 @@ add_lld_library(lldMinGW
DEPENDS
MinGWOptionsTableGen
- ${tablegen_deps}
+ intrinsics_gen
)