CMake 3.0.2 is now the minimum required version
CMake 3.0.2 is used by debian jessie which will for now still be supported. Ubuntu 14.04 still uses an older CMake version, but was already unsupported (as GCC 4.9 is needed). Altough Travis CI uses Ubuntu 14.04, it has CMake 3.2.2. Since several nice features were added in CMake 3.1 and later, debian jessie support will be dropped as soon as I decide to clean up the CMake script. When the rewrite happens, the new minimum version will become 3.5.1 (used in Ubuntu 16.04) or 3.2.2 if Travis CI still doesn't support Ubuntu 16.04 by then.0.8
parent
c22c1d69bd
commit
a0552a34ed
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 2.8.5)
|
||||
cmake_minimum_required(VERSION 3.0.2)
|
||||
|
||||
# Define a macro that helps defining an option
|
||||
macro(tgui_set_option var default type docstring)
|
||||
|
|
|
@ -54,7 +54,7 @@ endif()
|
|||
# detect the compiler and its version
|
||||
# Note: on some platforms (OS X), CMAKE_COMPILER_IS_GNUCXX is true
|
||||
# even when CLANG is used, therefore the Clang test is done first
|
||||
if(CMAKE_CXX_COMPILER MATCHES ".*clang[+][+]" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
if(CMAKE_CXX_COMPILER MATCHES ".*clang[+][+]" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# CMAKE_CXX_COMPILER_ID is an internal CMake variable subject to change,
|
||||
# but there is no other way to detect CLang at the moment
|
||||
set(SFML_COMPILER_CLANG 1)
|
||||
|
|
Loading…
Reference in New Issue