From 1a2ca9c8096401aa68bef455874df60dbdc9c2bf Mon Sep 17 00:00:00 2001 From: binary1248 Date: Sat, 18 Mar 2017 13:18:59 +0100 Subject: [PATCH] Bump the required CMake version to 3.1.0 and enforce compiler C++14 support. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 419d56d7..7ce5bf50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.1.0) + +# set the minimum required C++ standard to C++14 +set(CMAKE_CXX_STANDARD 14) # define a macro that helps defining an option macro(sfml_set_option var default type docstring)