mirror of https://github.com/CGAL/cgal
Fix CMP0054 warning in hyperbolic triangulation demos
This commit is contained in:
parent
0e8bd4aa96
commit
22caa66feb
|
|
@ -8,6 +8,10 @@ set(CMAKE_AUTOMOC ON)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.1...3.13)
|
cmake_minimum_required(VERSION 3.1...3.13)
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(POLICY CMP0071)
|
if(POLICY CMP0071)
|
||||||
cmake_policy(SET CMP0071 NEW)
|
cmake_policy(SET CMP0071 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ project( Hyperbolic_triangulation_2_Examples )
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.10)
|
cmake_minimum_required(VERSION 2.8.10)
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(CGAL QUIET COMPONENTS Core )
|
find_package(CGAL QUIET COMPONENTS Core )
|
||||||
|
|
||||||
if ( CGAL_FOUND )
|
if ( CGAL_FOUND )
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ project( Hyperbolic_triangulation_2_Tests )
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.10)
|
cmake_minimum_required(VERSION 2.8.10)
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(CGAL QUIET COMPONENTS Core )
|
find_package(CGAL QUIET COMPONENTS Core )
|
||||||
|
|
||||||
if ( CGAL_FOUND )
|
if ( CGAL_FOUND )
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@ if(POLICY CMP0071)
|
||||||
cmake_policy(SET CMP0071 NEW)
|
cmake_policy(SET CMP0071 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(CGAL QUIET COMPONENTS Core Qt5)
|
find_package(CGAL QUIET COMPONENTS Core Qt5)
|
||||||
include(${CGAL_USE_FILE})
|
include(${CGAL_USE_FILE})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ project( Periodic_4_hyperbolic_triangulation_2_Examples )
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.10)
|
cmake_minimum_required(VERSION 2.8.10)
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(CGAL QUIET COMPONENTS Core )
|
find_package(CGAL QUIET COMPONENTS Core )
|
||||||
|
|
||||||
if ( CGAL_FOUND AND CGAL_Core_FOUND)
|
if ( CGAL_FOUND AND CGAL_Core_FOUND)
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ project( Periodic_4_hyperbolic_triangulation_2_Tests )
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.10)
|
cmake_minimum_required(VERSION 2.8.10)
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(CGAL QUIET COMPONENTS Core )
|
find_package(CGAL QUIET COMPONENTS Core )
|
||||||
|
|
||||||
if ( CGAL_FOUND AND CGAL_Core_FOUND )
|
if ( CGAL_FOUND AND CGAL_Core_FOUND )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue