Update CMake minimum version to 3.7.2

- Most package managers already support CMake 3.7.2
- Enables additional CMake features to be utilized
This commit is contained in:
Lukas Dürrenberger 2021-01-14 11:48:25 +01:00 committed by Lukas Dürrenberger
parent 0ef9647589
commit 5e5ac64c76

View File

@ -1,9 +1,4 @@
# CMake's built-in Android support requires 3.7.0
if(CMAKE_SYSTEM_NAME MATCHES "Android")
cmake_minimum_required(VERSION 3.7.2)
else()
cmake_minimum_required(VERSION 3.0.2)
endif()
cmake_minimum_required(VERSION 3.7.2)
# define a macro that helps defining an option
macro(sfml_set_option var default type docstring)