Revert "Harmonize cmake_policy() across standalone builds of all projects"

This reverts commit 88d7508dc4.
It's reported to break builds when symlinking other projects inside
the `tools` directory.
This commit is contained in:
Michał Górny
2022-10-27 14:30:02 +02:00
parent 17c65e51b9
commit 687e5bccf8
8 changed files with 19 additions and 25 deletions

View File

@@ -1,12 +0,0 @@
# CMake policy settings shared between LLVM projects
# CMP0114: ExternalProject step targets fully adopt their steps.
# New in CMake 3.19: https://cmake.org/cmake/help/latest/policy/CMP0114.html
if(POLICY CMP0114)
cmake_policy(SET CMP0114 OLD)
endif()
# 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()