From: Martin Quinson Date: Fri, 30 Oct 2015 19:21:23 +0000 (+0100) Subject: Bump the minimal version of cmake to 2.8.8 X-Git-Tag: v3_13~1615 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9d1791bef967cca58e05ed5654d5abe0372246ec Bump the minimal version of cmake to 2.8.8 We are using CMAKE_CXX_COMPILER_VERSION that was only introduced in this version. See https://github.com/joakimkarlsson/bandit/issues/40 Thanks Christian for noticing and debugging the problem. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d7acad296..d80201ac58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) # Java requires 2.8.6 +cmake_minimum_required(VERSION 2.8.8) message(STATUS "Cmake version ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_HOME_DIRECTORY}/tools/cmake/Modules)