Merge pull request #7129 from sloriot/CGAL-config_clean_up

Leopard is retired for quite some time now
This commit is contained in:
Laurent Rineau 2023-01-27 20:52:25 +01:00
commit 8fbb9c5eaf
1 changed files with 1 additions and 5 deletions

View File

@ -41,11 +41,7 @@ if ( NOT CGAL_GENERATOR_SPECIFIC_SETTINGS_FILE_INCLUDED )
IF (APPLE)
exec_program(uname ARGS -v OUTPUT_VARIABLE DARWIN_VERSION)
string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION})
message(STATUS "DARWIN_VERSION=${DARWIN_VERSION}")
if (DARWIN_VERSION GREATER 8)
message(STATUS "Mac Leopard detected")
set(CGAL_APPLE_LEOPARD 1)
endif()
message(STATUS "Running in macOS DARWIN_VERSION=${DARWIN_VERSION}")
endif()
if ( NOT "${CMAKE_CFG_INTDIR}" STREQUAL "." )