summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-27 14:30:02 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-27 14:30:44 +0200
commit687e5bccf890ecca869f1400aaba906c4b8bbd20 (patch)
treec76f86d21b2fc959d7d096c30942851a59afa65d /cmake
parent17c65e51b91620181662302e9abd7e9694154c5d (diff)
downloadllvm-687e5bccf890ecca869f1400aaba906c4b8bbd20.tar.gz
Revert "Harmonize cmake_policy() across standalone builds of all projects"
This reverts commit 88d7508dc479210f07abccb17f0194b66264b125. It's reported to break builds when symlinking other projects inside the `tools` directory.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/CMakePolicy.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmake/Modules/CMakePolicy.cmake b/cmake/Modules/CMakePolicy.cmake
deleted file mode 100644
index 0ec32ad8637f..000000000000
--- a/cmake/Modules/CMakePolicy.cmake
+++ /dev/null
@@ -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()