[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.

llvm-svn: 294602
This commit is contained in:
Chris Bieneman 2017-02-09 18:14:12 +00:00
parent b36e1f0223
commit 84ad1f8514
1 changed files with 1 additions and 0 deletions

View 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)