mirror of https://github.com/CGAL/cgal
Require CMake>=2.8.6 on Windows platforms
This commit is contained in:
parent
7ffeddd2f5
commit
c81dd1c3c3
|
|
@ -3,10 +3,14 @@
|
||||||
# refer to the root source directory of the project as ${CMAKE_SOURCE_DIR} or
|
# 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_SOURCE_DIR} and to the root binary directory of the project as
|
||||||
# ${CMAKE_BINARY_DIR} or ${CMAKE_BINARY_DIR}.
|
# ${CMAKE_BINARY_DIR} or ${CMAKE_BINARY_DIR}.
|
||||||
project(CGAL)
|
project(CGAL CXX)
|
||||||
|
|
||||||
# Minimal version of CMake:
|
# Minimal version of CMake:
|
||||||
cmake_minimum_required(VERSION 2.6.2)
|
if(WIN32)
|
||||||
|
cmake_minimum_required(VERSION 2.6.2)
|
||||||
|
else(WIN32)
|
||||||
|
cmake_minimum_required(VERSION 2.8.6)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Tested version:
|
# Tested version:
|
||||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
|
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
|
||||||
|
|
|
||||||
|
|
@ -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
|
In order to configure, build, and install the \cgal\ libraries, examples and
|
||||||
demos, you need \cmake, a cross-platform ``makefile generator''.
|
demos, you need \cmake, a cross-platform ``makefile generator''.
|
||||||
If \cmake\ is not installed already you can obtain it from \cmakepage.
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue