From 3437d2ae3cb5a94e6c06d13f38008de60019a1cc Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 26 Jan 2012 10:18:43 +0000 Subject: [PATCH] Followup of the previous commit: require cmake-2.8.6 on Windows --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f85b0c7ae5..b1a16988287 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,12 @@ # Top level CMakeLists.txt for CGAL-branchbuild project(CGAL CXX) -cmake_minimum_required(VERSION 2.6.2) +# Minimal version of CMake: +if(WIN32) + cmake_minimum_required(VERSION 2.6.2) +else(WIN32) + cmake_minimum_required(VERSION 2.8.6) +endif() # option for branch build