mirror of https://github.com/CGAL/cgal
`cmale_language(DEFER ...)` is actually from CMake 3.19
This commit is contained in:
parent
266b0ae15a
commit
ad54e34af1
|
|
@ -155,7 +155,7 @@ function(CGAL_run_at_the_end_of_configuration variable access value current_list
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(CGAL_install_hooks)
|
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)
|
variable_watch("CMAKE_CURRENT_LIST_DIR" CGAL_run_at_the_end_of_configuration)
|
||||||
else()
|
else()
|
||||||
cmake_language(DEFER CALL CGAL_hooks_at_end_of_all_directories)
|
cmake_language(DEFER CALL CGAL_hooks_at_end_of_all_directories)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue