From ad54e34af1cb0e3f8da6a3a635bef2bc53fc8dd6 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 21 Jun 2022 21:59:55 +0200 Subject: [PATCH] `cmale_language(DEFER ...)` is actually from CMake 3.19 --- .../cmake/modules/CGAL_enable_end_of_configuration_hook.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installation/cmake/modules/CGAL_enable_end_of_configuration_hook.cmake b/Installation/cmake/modules/CGAL_enable_end_of_configuration_hook.cmake index e72b81b6e38..6a792ab5c91 100644 --- a/Installation/cmake/modules/CGAL_enable_end_of_configuration_hook.cmake +++ b/Installation/cmake/modules/CGAL_enable_end_of_configuration_hook.cmake @@ -155,7 +155,7 @@ function(CGAL_run_at_the_end_of_configuration variable access value current_list endfunction() function(CGAL_install_hooks) - if(CMAKE_VERSION VERSION_LESS 3.18) + if(CMAKE_VERSION VERSION_LESS 3.19) variable_watch("CMAKE_CURRENT_LIST_DIR" CGAL_run_at_the_end_of_configuration) else() cmake_language(DEFER CALL CGAL_hooks_at_end_of_all_directories)