[PATCH] D13453: Always generate cmake config files

don hinton via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 12:19:39 PDT 2015


hintonda updated this revision to Diff 36889.
hintonda added a comment.

- add back check for standalone and add cmake version


http://reviews.llvm.org/D13453

Files:
  CMakeLists.txt

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -550,7 +550,7 @@
 set(CLANG_ORDER_FILE "" CACHE FILEPATH
   "Order file to use when compiling clang in order to improve startup time.")
 
-if (CLANG_BUILT_STANDALONE)
+if (CLANG_BUILT_STANDALONE OR CMAKE_VERSION VERSION_GREATER 3)
   # Generate a list of CMake library targets so that other CMake projects can
   # link against them. LLVM calls its version of this file LLVMExports.cmake, but
   # the usual CMake convention seems to be ${Project}Targets.cmake.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13453.36889.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151008/b3582bb2/attachment.bin>


More information about the cfe-commits mailing list