Require CMake>=2.8.6 on Windows platforms

This commit is contained in:
Laurent Rineau 2012-01-26 10:17:17 +00:00
parent 7ffeddd2f5
commit c81dd1c3c3
2 changed files with 9 additions and 3 deletions

View File

@ -3,10 +3,14 @@
# refer to the root source directory of the project as ${CMAKE_SOURCE_DIR} or
# ${CMAKE_SOURCE_DIR} and to the root binary directory of the project as
# ${CMAKE_BINARY_DIR} or ${CMAKE_BINARY_DIR}.
project(CGAL)
project(CGAL CXX)
# Minimal version of CMake:
if(WIN32)
cmake_minimum_required(VERSION 2.6.2)
else(WIN32)
cmake_minimum_required(VERSION 2.8.6)
endif()
# Tested version:
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)

View File

@ -96,7 +96,9 @@ In order to build the \cgal\ libraries, you need a \CC\ compiler.
In order to configure, build, and install the \cgal\ libraries, examples and
demos, you need \cmake, a cross-platform ``makefile generator''.
If \cmake\ is not installed already you can obtain it from \cmakepage.
\cmake\ version~2.6.2 or higher is required.
\cmake\ version~2.6.2 or higher is required. On Windows, \cmake{}
version~2.8.6 or higher is required, for a proper support of DLLs
generation.