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)