File tree Expand file tree Collapse file tree
Installation/lib/cmake/CGAL Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# This file is the CGALConfig.cmake for a header-only CGAL installation
33#
44
5+ cmake_minimum_required (VERSION 3.22...3.31 )
6+
57# For CGAL_CreateSingleSourceCGALProgram.cmake
68set ( CGAL_REQUESTED_COMPONENTS ${CGAL_FIND_COMPONENTS} )
79
@@ -10,11 +12,7 @@ set(CGAL_LIBRARIES CGAL)
1012# Resolve symlinks before extracting the directory so that the subsequent
1113# DIRECTORY walk produces a correct CGAL_ROOT (e.g. /lib -> /usr/lib on
1214# Arch Linux). See https://github.com/CGAL/cgal/issues/8521
13- if (NOT CMAKE_VERSION VERSION_LESS 3.19)
14- file (REAL_PATH "${CMAKE_CURRENT_LIST_FILE } " _cgal_config_realpath )
15- else ()
16- get_filename_component (_cgal_config_realpath "${CMAKE_CURRENT_LIST_FILE } " REALPATH )
17- endif ()
15+ file (REAL_PATH "${CMAKE_CURRENT_LIST_FILE } " _cgal_config_realpath )
1816get_filename_component (CGAL_CONFIG_DIR "${_cgal_config_realpath} " DIRECTORY )
1917
2018function (cgal_detect_branch_build VAR_NAME )
You can’t perform that action at this time.
0 commit comments