[llvm] r294602 - [CMake] Fix standalone project builds broken in r294514

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 10:14:12 PST 2017


Author: cbieneman
Date: Thu Feb  9 12:14:12 2017
New Revision: 294602

URL: http://llvm.org/viewvc/llvm-project?rev=294602&view=rev
Log:
[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.

Modified:
    llvm/trunk/cmake/modules/LLVMConfig.cmake.in

Modified: llvm/trunk/cmake/modules/LLVMConfig.cmake.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMConfig.cmake.in?rev=294602&r1=294601&r2=294602&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMConfig.cmake.in (original)
+++ llvm/trunk/cmake/modules/LLVMConfig.cmake.in Thu Feb  9 12:14:12 2017
@@ -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)




More information about the llvm-commits mailing list