Set Cmake version requirement to 2.8.0 (2.6.0 does not work with Eeschema Cmakefile)

This commit is contained in:
jean-pierre charras 2010-05-10 20:31:11 +02:00
parent 03b290f985
commit 95fadd7ab8
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
project(kicad)
# test the minimun Cmake version (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.