]> granicus.if.org Git - llvm/commitdiff
[CMake] Fix standalone project builds broken in r294514
authorChris Bieneman <beanz@apple.com>
Thu, 9 Feb 2017 18:14:12 +0000 (18:14 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 9 Feb 2017 18:14:12 +0000 (18:14 +0000)
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

cmake/modules/LLVMConfig.cmake.in

index c30c92b66d8af9bf535c6651ff2ebe8be4b7fdff..2aea2dcaa542eba0a68eb3d39321c58822442e6a 100644 (file)
@@ -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)