We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d001a3 commit 7aa41fdCopy full SHA for 7aa41fd
cmake/Modules/CMakePolicy.cmake
@@ -1,5 +1,11 @@
1
# CMake policy settings shared between LLVM projects
2
3
+# CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()`
4
+# New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html
5
+if(POLICY CMP0116)
6
+ cmake_policy(SET CMP0116 NEW)
7
+endif()
8
+
9
# MSVC debug information format flags are selected via
10
# CMAKE_MSVC_DEBUG_INFORMATION_FORMAT, instead of
11
# embedding flags in e.g. CMAKE_CXX_FLAGS_RELEASE.
0 commit comments