mirror of https://github.com/CGAL/cgal
Replace the CMP0054 spec by the right cmake_required_version
This commit is contained in:
parent
22caa66feb
commit
ecff35a7e9
|
|
@ -8,10 +8,6 @@ set(CMAKE_AUTOMOC ON)
|
|||
|
||||
cmake_minimum_required(VERSION 3.1...3.13)
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0071)
|
||||
cmake_policy(SET CMP0071 NEW)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -4,11 +4,7 @@
|
|||
|
||||
project( Hyperbolic_triangulation_2_Examples )
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.10)
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
cmake_minimum_required(VERSION 3.1...3.13)
|
||||
|
||||
find_package(CGAL QUIET COMPONENTS Core )
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,7 @@
|
|||
|
||||
project( Hyperbolic_triangulation_2_Tests )
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.10)
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
cmake_minimum_required(VERSION 3.1...3.13)
|
||||
|
||||
find_package(CGAL QUIET COMPONENTS Core )
|
||||
|
||||
|
|
|
|||
|
|
@ -10,17 +10,12 @@ include_directories( ${CMAKE_BINARY_DIR} )
|
|||
# Instruct CMake to run moc automatically when needed.
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.1...3.13)
|
||||
|
||||
if(POLICY CMP0071)
|
||||
cmake_policy(SET CMP0071 NEW)
|
||||
endif()
|
||||
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
|
||||
find_package(CGAL QUIET COMPONENTS Core Qt5)
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,7 @@
|
|||
|
||||
project( Periodic_4_hyperbolic_triangulation_2_Examples )
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.10)
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
cmake_minimum_required(VERSION 3.1...3.13)
|
||||
|
||||
find_package(CGAL QUIET COMPONENTS Core )
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,7 @@
|
|||
|
||||
project( Periodic_4_hyperbolic_triangulation_2_Tests )
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.10)
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
cmake_minimum_required(VERSION 3.1...3.13)
|
||||
|
||||
find_package(CGAL QUIET COMPONENTS Core )
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue