| ------------------------------------------------------------------------
| r67609 | lrineau | 2012-02-06 12:39:40 +0100 (Mon, 06 Feb 2012) | 5 lines
|
| Fix (examples|demo)/CMakeLists.txt
|
| That way, those CMakeLists.txt can be used to build examples and demo from
| outside the building of CGAL libraries.
|
| ------------------------------------------------------------------------
If UseCGAL.cmake is included in demo/ or examples/ then it can no longer be
included to set up different flags in sub-directories.
- Factorize the logic of Installation/examples/CMakeLists.txt and
Installation/demo/CMakeLists.txt in to a function defined in
Installation/CMakeLists.txt
- Call cgal_create_cmake_script, potentially out-of-build, when the
CMakeLists.txt does not exist.
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
- change cmake_minimum_required to VERSION 2.6.2
- no longer any need for the policy CMP0003 (was for 2.4.x)
- no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)