mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +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
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Android")
|
|
||||||
cmake_minimum_required(VERSION 3.7.2)
|
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