[PATCH] D54236: [cmake] Set CMP0075 to NEW

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 16:20:42 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL346377: [cmake] Set CMP0075 to NEW (authored by smeenai, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D54236

Files:
  llvm/trunk/CMakeLists.txt


Index: llvm/trunk/CMakeLists.txt
===================================================================
--- llvm/trunk/CMakeLists.txt
+++ llvm/trunk/CMakeLists.txt
@@ -7,6 +7,10 @@
   set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
 endif()
 
+if(POLICY CMP0075)
+  cmake_policy(SET CMP0075 NEW)
+endif()
+
 if(NOT DEFINED LLVM_VERSION_MAJOR)
   set(LLVM_VERSION_MAJOR 8)
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54236.173078.patch
Type: text/x-patch
Size: 372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/964b8604/attachment.bin>


More information about the llvm-commits mailing list