Skip to content

Commit

Permalink
doc/ add cmake dependencies (fix #8211)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Jun 7, 2024
1 parent 283864a commit 50d7aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/doc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.23)
project(Documentation NONE)

# Minimal version of CMake:

# Check whether this cmake script is the top level one
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
# decide if this is a branch build
Expand Down Expand Up @@ -79,6 +77,7 @@ function(configure_doxygen_package CGAL_PACKAGE_NAME)
if(NOT EXISTS ${CGAL_PACKAGE_DOC_DIR}/Doxyfile.in)
return()
endif()
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${CGAL_PACKAGE_DOC_DIR}/Doxyfile.in)

set(CGAL_DOC_PACKAGE_DEFAULTS
${CGAL_DOC_DXY_DIR}/${CGAL_PACKAGE_NAME}_defaults.dxy)
Expand Down Expand Up @@ -166,6 +165,7 @@ function(configure_doxygen_package CGAL_PACKAGE_NAME)
endforeach()
else()
if(EXISTS ${CGAL_PACKAGE_DOC_DIR}/dependencies)
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${CGAL_PACKAGE_DOC_DIR}/dependencies)
file(STRINGS ${CGAL_PACKAGE_DOC_DIR}/dependencies DEPENDENCIES)
endif()
endif()
Expand Down

0 comments on commit 50d7aba

Please sign in to comment.