diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-27 14:30:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-27 14:30:44 +0200 |
commit | 687e5bccf890ecca869f1400aaba906c4b8bbd20 (patch) | |
tree | c76f86d21b2fc959d7d096c30942851a59afa65d /cmake | |
parent | 17c65e51b91620181662302e9abd7e9694154c5d (diff) | |
download | llvm-687e5bccf890ecca869f1400aaba906c4b8bbd20.zip llvm-687e5bccf890ecca869f1400aaba906c4b8bbd20.tar.gz llvm-687e5bccf890ecca869f1400aaba906c4b8bbd20.tar.bz2 |
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.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cmake/Modules/CMakePolicy.cmake b/cmake/Modules/CMakePolicy.cmake deleted file mode 100644 index 0ec32ad..0000000 --- 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() |