Only monitor the accesses of type MODIFIED_ACCESS

This commit is contained in:
Laurent Rineau 2018-03-20 17:02:21 +01:00
parent 30df6e803a
commit 2d1cb94f5b
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
function(CGAL_run_at_the_end_of_configuration variable access value current_list_file stack)
if(value)
# Only do something at the end of the CMake process
if(NOT access STREQUAL "MODIFIED_ACCESS" OR value)
return()
endif()
# Warn when CMAKE_BUILD_TYPE is empty or Debug