diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-04-25 21:29:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-25 21:29:59 -0700 |
| commit | ab405fb6e9ff9202ca722f632b945d4b84c653f5 (patch) | |
| tree | 0f6f2f926021fe098d13fb0f7c90dab7f5a59d93 /cmake | |
| parent | a50269e9991a9b50790cd556eb2bc1417f7e7407 (diff) | |
[CMake] Do not set CMP0116 explicitly to old (#90385)
CMP0116 was originally set to old to get rid of warnings. However, this
behavior is now set to new by default with the minimum CMake version
that LLVM requires so does not produce any warnings, and setting it
explicitly to old does produce a warning in newer CMake versions. Due to
these reasons, remove this check for now.
Splitting off from removing the CMP0114 check just in case something
breaks.
Partially fixes #83727.
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/Modules/CMakePolicy.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/Modules/CMakePolicy.cmake b/cmake/Modules/CMakePolicy.cmake index bafd6bb5b025..421f5a4dda6c 100644 --- a/cmake/Modules/CMakePolicy.cmake +++ b/cmake/Modules/CMakePolicy.cmake @@ -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. |
