From 5e5ac64c76e4a541d9651537e6cd921eb2b91d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Thu, 14 Jan 2021 11:48:25 +0100 Subject: [PATCH] Update CMake minimum version to 3.7.2 - Most package managers already support CMake 3.7.2 - Enables additional CMake features to be utilized --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdcca81cf..67b61712e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)