mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
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:
parent
0ef9647589
commit
5e5ac64c76
@ -1,9 +1,4 @@
|
|||||||
# CMake's built-in Android support requires 3.7.0
|
cmake_minimum_required(VERSION 3.7.2)
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Android")
|
|
||||||
cmake_minimum_required(VERSION 3.7.2)
|
|
||||||
else()
|
|
||||||
cmake_minimum_required(VERSION 3.0.2)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# define a macro that helps defining an option
|
# define a macro that helps defining an option
|
||||||
macro(sfml_set_option var default type docstring)
|
macro(sfml_set_option var default type docstring)
|
||||||
|
Loading…
Reference in New Issue
Block a user