mirror of https://github.com/CGAL/cgal
parent
ca8f719152
commit
c42216e48b
|
|
@ -9,6 +9,13 @@ else()
|
||||||
cmake_policy(VERSION 2.6)
|
cmake_policy(VERSION 2.6)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Compatibility with CMake 3.0
|
||||||
|
if(POLICY CMP0042)
|
||||||
|
# Do not enable the use of MACOSX_RPATH
|
||||||
|
# http://www.cmake.org/cmake/help/v3.0/policy/CMP0042.html
|
||||||
|
cmake_policy(SET CMP0042 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Creates a new CMake option, turned ON by default
|
# Creates a new CMake option, turned ON by default
|
||||||
option(ACTIVATE_MSVC_PRECOMPILED_HEADERS
|
option(ACTIVATE_MSVC_PRECOMPILED_HEADERS
|
||||||
"Activate precompiled headers in MSVC"
|
"Activate precompiled headers in MSVC"
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,13 @@ else()
|
||||||
cmake_policy(VERSION 2.6)
|
cmake_policy(VERSION 2.6)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Compatibility with CMake 3.0
|
||||||
|
if(POLICY CMP0042)
|
||||||
|
# Do not enable the use of MACOSX_RPATH
|
||||||
|
# http://www.cmake.org/cmake/help/v3.0/policy/CMP0042.html
|
||||||
|
cmake_policy(SET CMP0042 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
#option(POLYHEDRON_DEMO_ENABLE_FORWARD_DECL "In the Polyhedron demo, enable " OFF)
|
#option(POLYHEDRON_DEMO_ENABLE_FORWARD_DECL "In the Polyhedron demo, enable " OFF)
|
||||||
#mark_as_advanced(POLYHEDRON_DEMO_ENABLE_FORWARD_DECL)
|
#mark_as_advanced(POLYHEDRON_DEMO_ENABLE_FORWARD_DECL)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue