This commit is contained in:
Maxime Gimeno 2019-08-16 13:08:00 +02:00
parent abc42299b8
commit ba9adf4aa9
1 changed files with 4 additions and 2 deletions

View File

@ -18,8 +18,10 @@ function(CGAL_run_at_the_end_of_configuration variable access value current_list
return()
endif()
if(current_list_file STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt"
AND NOT current_list_file STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt" OR NOT stack STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt"
AND stack STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt") OR stack MATCHES doc/CMakeLists.txt
AND NOT current_list_file STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt"
OR NOT stack STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt"
AND stack STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt"
OR stack MATCHES doc/CMakeLists.txt
OR stack MATCHES demo/Polyhedron/)
return()
endif()