From 0e55a451550f85ecf59f1183405a681e1dbbb490 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 13 Apr 2018 15:02:22 +0200 Subject: [PATCH] Prefix our CMake function name with "cgal" --- Installation/lib/cmake/CGAL/CGALConfig.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Installation/lib/cmake/CGAL/CGALConfig.cmake b/Installation/lib/cmake/CGAL/CGALConfig.cmake index 947164902bf..282062bd88e 100644 --- a/Installation/lib/cmake/CGAL/CGALConfig.cmake +++ b/Installation/lib/cmake/CGAL/CGALConfig.cmake @@ -44,7 +44,7 @@ set(CGAL_HEADER_ONLY TRUE) # the binary directory. set(CGAL_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) -function(_detect_branch_build VAR_NAME) +function(cgal_detect_branch_build VAR_NAME) if(IS_DIRECTORY ${CGAL_CONFIG_DIR}/../../../../Installation/package_info/Installation/) set(${VAR_NAME} TRUE PARENT_SCOPE) else() @@ -52,7 +52,7 @@ function(_detect_branch_build VAR_NAME) endif() endfunction() -_detect_branch_build(BRANCH_BUILD) +cgal_detect_branch_build(BRANCH_BUILD) if(BRANCH_BUILD) set(CGAL_ROOT ${CGAL_CONFIG_DIR}/../../../..) set(CGAL_INSTALLATION_PACKAGE_DIR ${CGAL_ROOT}/Installation) @@ -111,7 +111,7 @@ endforeach() include(CGAL_setup_target_dependencies) # -# Define the CGAL targets and theirs CGAL:: aliases +# Define the CGAL targets and their CGAL:: aliases # foreach(cgal_lib ${CGAL_LIBRARIES}) set(WITH_${cgal_lib} TRUE)