Merge pull request 'Update make_minimum_required to 3.5' (#10) from opoplawski/TetGen:cmake into main

Reviewed-on: https://codeberg.org/TetGen/TetGen/pulls/10
This commit is contained in:
Jürgen Fuhrmann
2026-02-22 21:46:43 +01:00

View File

@@ -1,5 +1,5 @@
# Set the minimum required version of cmake for a project. # Set the minimum required version of cmake for a project.
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 3.5)
# Add an executable to the project using the specified source files. # Add an executable to the project using the specified source files.
add_executable(tetgen tetgen.cxx predicates.cxx) add_executable(tetgen tetgen.cxx predicates.cxx)
@@ -11,4 +11,4 @@ add_library(tet STATIC tetgen.cxx predicates.cxx)
#Set properties on a target. #Set properties on a target.
#We use this here to set -DTETLIBRARY for when compiling the #We use this here to set -DTETLIBRARY for when compiling the
#library #library
set_target_properties(tet PROPERTIES "COMPILE_DEFINITIONS" TETLIBRARY) set_target_properties(tet PROPERTIES "COMPILE_DEFINITIONS" TETLIBRARY)