diff --git a/CMakeLists.txt b/CMakeLists.txt index e5c8c8a782..470446e4f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,10 @@ project(kicad) +# test the minimum Cmake version requirement (could be different under unix or Windows if(WIN32) - cmake_minimum_required(VERSION 2.6.1 FATAL_ERROR) + cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR) else(WIN32) - cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) + cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR) endif(WIN32) # Path to local CMake modules.