Reland "[CMake] Do not set CMP0116 explicitly to old (#90385)"
This reverts commitfa65a228f4. This relands commitab405fb6e9. There was an issue where CMake versions <3.23.0 would not properly parse dep files, causing the build to file. This patch fixes that by just making CMake versions <3.23.0 use the fallback behavior.
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
# CMake policy settings shared between LLVM projects
|
||||
|
||||
# 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()
|
||||
|
||||
# MSVC debug information format flags are selected via
|
||||
# CMAKE_MSVC_DEBUG_INFORMATION_FORMAT, instead of
|
||||
# embedding flags in e.g. CMAKE_CXX_FLAGS_RELEASE.
|
||||
|
||||
Reference in New Issue
Block a user