From: Chris Bieneman Date: Thu, 9 Feb 2017 18:14:12 +0000 (+0000) Subject: [CMake] Fix standalone project builds broken in r294514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=606c50d3577bcb101c6d5d86c8032e17a7181bba;p=llvm [CMake] Fix standalone project builds broken in r294514 This patch sets the global property indicating that target registration is complete for standalone sub-project builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294602 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/LLVMConfig.cmake.in b/cmake/modules/LLVMConfig.cmake.in index c30c92b66d8..2aea2dcaa54 100644 --- a/cmake/modules/LLVMConfig.cmake.in +++ b/cmake/modules/LLVMConfig.cmake.in @@ -75,4 +75,5 @@ if(NOT TARGET LLVMSupport) @llvm_config_include_buildtree_only_exports@ endif() +set_property(GLOBAL PROPERTY LLVM_TARGETS_CONFIGURED On) include(${LLVM_CMAKE_DIR}/LLVM-Config.cmake)