1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

Bump minimum CMake version to 3.8.

This is the minimum version that supports CMAKE_CXX_STANDARD=17.
This commit is contained in:
Sadie Powell
2021-04-27 17:48:28 +01:00
parent dfc8bd4aa2
commit ef4fd869ae
+2 -2
View File
@@ -1,5 +1,5 @@
# This usage of CMake requires at least version 2.4 (checks are made to determine what to use when certain versions lack functions)
cmake_minimum_required(VERSION 2.4 FATAL_ERROR)
# This usage of CMake requires at least version 3.8
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
if(POLICY CMP0026)