[PATCH] D101083: [cmake] Configure policy CMP0116
Dave Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 08:57:52 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG638d84b60b7e: [cmake] Configure policy CMP0116 (authored by kastiglione).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101083/new/
https://reviews.llvm.org/D101083
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -2,6 +2,12 @@
cmake_minimum_required(VERSION 3.13.4)
+# CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()`
+# New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html
+if(POLICY CMP0116)
+ cmake_policy(SET CMP0116 OLD)
+endif()
+
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
if(NOT DEFINED LLVM_VERSION_MAJOR)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101083.340060.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/bf88f9f0/attachment.bin>
More information about the llvm-commits
mailing list