Active CMake policies up to CMake-3.23

This commit is contained in:
Laurent Rineau 2022-05-06 09:28:17 +02:00
parent 80c3baa196
commit 55a3b3f1aa
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.11) cmake_minimum_required(VERSION 3.11...3.23)
if(Boost_IOSTREAMS_FOUND AND NOT TARGET CGAL::Boost_iostreams_support) if(Boost_IOSTREAMS_FOUND AND NOT TARGET CGAL::Boost_iostreams_support)
if( WIN32 ) if( WIN32 )

View File

@ -23,7 +23,7 @@
# If set, the `LEDA` library will be searched and used to provide # If set, the `LEDA` library will be searched and used to provide
# the exact number types used by CGAL kernels. # the exact number types used by CGAL kernels.
# #
cmake_minimum_required(VERSION 3.11) cmake_minimum_required(VERSION 3.11...3.23)
if(CGAL_SetupCGALDependencies_included) if(CGAL_SetupCGALDependencies_included)
return() return()
endif() endif()

View File

@ -9,7 +9,7 @@
# find_package(LEDA) # find_package(LEDA)
# #
# and defines the function :command:`use_CGAL_LEDA_support`. # and defines the function :command:`use_CGAL_LEDA_support`.
cmake_minimum_required(VERSION 3.11) cmake_minimum_required(VERSION 3.11...3.23)
if(CGAL_SetupLEDA_included) if(CGAL_SetupLEDA_included)
return() return()
endif() endif()