Update Cmake version requirement

This commit is contained in:
jean-pierre charras 2010-05-10 21:06:45 +02:00
commit bf217138ed
1 changed files with 3 additions and 2 deletions

View File

@ -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.