summaryrefslogtreecommitdiff
path: root/lldb/CMakeLists.txt
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 /lldb/CMakeLists.txt
parent63c081e73d3d6d75ab6c6eefa37a69d73f46ed0f (diff)
downloadllvm-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 'lldb/CMakeLists.txt')
-rw-r--r--lldb/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index bf748020ea40..b1c0597cf3b3 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -64,7 +64,7 @@ endif ()
# some of these generated headers. This approach is copied from Clang's main
# CMakeLists.txt, so it should kept in sync the code in Clang which was added
# in llvm-svn 308844.
-if(LLVM_ENABLE_MODULES AND NOT LLDB_BUILT_STANDALONE)
+if(LLVM_ENABLE_MODULES)
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
endif()