CGAL: Fixes for cmake 3.25

This commit is contained in:
Andreas Fabri 2022-11-23 08:27:39 +00:00
parent 8d3b7c72a0
commit d157adcb6e
8 changed files with 16 additions and 16 deletions

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_cmake_script.
# This is the CMake script for compiling a CGAL application.
project(Barycentric_coordinates_2_Examples)
cmake_minimum_required(VERSION 3.1...3.22)
project(Barycentric_coordinates_2_Examples)
find_package(CGAL REQUIRED COMPONENTS Core)
create_single_source_cgal_program("segment_coordinates.cpp")

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_cmake_script.
# This is the CMake script for compiling a CGAL application.
project(Barycentric_coordinates_2_Tests)
cmake_minimum_required(VERSION 3.1...3.22)
project(Barycentric_coordinates_2_Tests)
find_package(CGAL REQUIRED COMPONENTS Core)
create_single_source_cgal_program("test_almost_degenerate_segment.cpp")

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.
project(Polygonal_surface_reconstruction_Examples)
cmake_minimum_required(VERSION 3.1...3.22)
project(Polygonal_surface_reconstruction_Examples)
# CGAL and its components
find_package(CGAL REQUIRED)

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.
project(Polygonal_surface_reconstruction_Tests)
cmake_minimum_required(VERSION 3.1...3.22)
project(Polygonal_surface_reconstruction_Tests)
# CGAL and its components
find_package(CGAL REQUIRED)

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists.
# This is the CMake script for compiling a set of CGAL applications.
project(Shape_regularization_Examples)
cmake_minimum_required(VERSION 3.1...3.22)
project(Shape_regularization_Examples)
find_package(CGAL REQUIRED COMPONENTS Core)
# Find OSQP library and headers.

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists.
# This is the CMake script for compiling a set of CGAL applications.
project(Shape_regularization_Tests)
cmake_minimum_required(VERSION 3.1...3.22)
project(Shape_regularization_Tests)
find_package(CGAL REQUIRED COMPONENTS Core)
# Find OSQP library and headers.

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_cmake_script.
# This is the CMake script for compiling a CGAL application.
project(Weights_Examples)
cmake_minimum_required(VERSION 3.1...3.22)
project(Weights_Examples)
find_package(CGAL REQUIRED COMPONENTS Core)
create_single_source_cgal_program("weights.cpp")

View File

@ -1,10 +1,10 @@
# Created by the script cgal_create_cmake_script.
# This is the CMake script for compiling a CGAL application.
project(Weights_Tests)
cmake_minimum_required(VERSION 3.1...3.22)
project(Weights_Tests)
find_package(CGAL REQUIRED COMPONENTS Core)
create_single_source_cgal_program("test_uniform_weights.cpp")