From c004d540e94eeac14f732da5cc2f0d1cc9aaa4cc Mon Sep 17 00:00:00 2001 From: Shoaib Meenai Date: Sat, 1 Dec 2018 01:41:27 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348064 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt index 32617fd4ba6..7a20850e36f 100644 --- a/projects/CMakeLists.txt +++ b/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)