summaryrefslogtreecommitdiffstats
path: root/llvm/projects
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-12-01 01:41:27 +0000
committerShoaib Meenai <smeenai@fb.com>2018-12-01 01:41:27 +0000
commitfbb925462e02fbf280e510b079e46745c2d357e0 (patch)
tree64f67c79b1c204ccfd24d3c382d5648f44501f41 /llvm/projects
parent88270231f8de8bc7ecd6d3ace0908361770cff4c (diff)
downloadbcm5719-llvm-fbb925462e02fbf280e510b079e46745c2d357e0.tar.gz
bcm5719-llvm-fbb925462e02fbf280e510b079e46745c2d357e0.zip
[projects] Use add_llvm_external_project for implicit projects
This allows disabling implicit projects via the LLVM_TOOL_*_BUILD variables, similar to how implicit tools can be disabled. They'll still be enabled by default, since add_llvm_external_project defaults the LLVM_TOOL_*_BUILD variables to ON for in-tree implciit projects. Differential Revision: https://reviews.llvm.org/D55105 llvm-svn: 348064
Diffstat (limited to 'llvm/projects')
-rw-r--r--llvm/projects/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/projects/CMakeLists.txt b/llvm/projects/CMakeLists.txt
index 32617fd4ba6..7a20850e36f 100644
--- a/llvm/projects/CMakeLists.txt
+++ b/llvm/projects/CMakeLists.txt
@@ -13,7 +13,7 @@ foreach(entry ${entries})
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/parallel-libs) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests))
- add_subdirectory(${entry})
+ add_llvm_external_project(${entry})
endif()
endif()
endforeach(entry)
OpenPOWER on IntegriCloud