diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-04-03 20:08:02 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-06-01 14:06:20 +0200 |
commit | 3956679c13a5005db128c52ce56eb1b4ced4df82 (patch) | |
tree | dcd0fa5ca26cb6367f40fc1b7338af8aaaa84565 /tests/patch | |
parent | 2e7d457987eb19b5ef7c8659d843f2fe01a66506 (diff) | |
download | libgit2-3956679c13a5005db128c52ce56eb1b4ced4df82.tar.gz |
cmake: remove policies
The `CMAKE_MINIUM_REQUIRE()` function not only sets up the minimum
required CMake version of a project, but it will also at the same time
set the CMake policy version. In effect this means that all policies
that have been introduced before the minimum CMake version will be
enabled automatically.
When updating our minimum required version ebabb88f2 (cmake: update
minimum CMake version to v3.5.1, 2019-10-10), we didn't remove any of
the policies we've been manually enabling. The newest CMake policy we've
been enabling is CMP0054, which was introduced back in CMake v3.1. As a
result, we can now just remove all manual calls to `CMAKE_POLICY()`.
Diffstat (limited to 'tests/patch')
0 files changed, 0 insertions, 0 deletions