diff options
author | Chris Bieneman <beanz@apple.com> | 2017-02-09 18:14:12 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-02-09 18:14:12 +0000 |
commit | 84ad1f851482643bde2819ed3bb9eaf317d720ab (patch) | |
tree | d77de0601bc4444b002686e9639a1b94ab0cefff /llvm | |
parent | b36e1f0223c34a039d386bebc27242e4cb6f07b2 (diff) | |
download | bcm5719-llvm-84ad1f851482643bde2819ed3bb9eaf317d720ab.tar.gz bcm5719-llvm-84ad1f851482643bde2819ed3bb9eaf317d720ab.zip |
[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
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/cmake/modules/LLVMConfig.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in index c30c92b66d8..2aea2dcaa54 100644 --- a/llvm/cmake/modules/LLVMConfig.cmake.in +++ b/llvm/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) |