commit | 7b2224cb6e1108e1786a965578796bc7d94e9546 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Sat Nov 17 23:39:15 2018 -0500 |
committer | Cosmin Truta <ctruta@gmail.com> | Sat Nov 17 23:39:15 2018 -0500 |
tree | b0996edcb1585e93f70d9b2066f7e6ff823ed517 | |
parent | ee7967eea439145673fa89e2d7d56d4932c182cc [diff] |
CMakeLists: Require CMake version 3.1 or newer Although CMake version 3.0.2 was previously required, the policies CMP0053 and CMP0054, introduced only in CMake version 3.1 and used in this CMakeLists file, can have surprising effects under an older CMake version. Simplify the CMakeLists file by setting the global policy version to 3.1, and remove the specific policy settings. As an added bonus, remove the vestigial workarounds for all ancient CMake versions.