summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorCosmin Truta <ctruta@gmail.com>2018-11-17 23:39:15 -0500
committerCosmin Truta <ctruta@gmail.com>2018-11-17 23:39:15 -0500
commit7b2224cb6e1108e1786a965578796bc7d94e9546 (patch)
treeb0996edcb1585e93f70d9b2066f7e6ff823ed517 /example.c
parentee7967eea439145673fa89e2d7d56d4932c182cc (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.
Diffstat (limited to 'example.c')
0 files changed, 0 insertions, 0 deletions