Skip to content

Commit

Permalink
Add dependency on version to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 23, 2020
1 parent 6ec342b commit c5a95a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/CMakeLists.txt
Expand Up @@ -152,11 +152,11 @@ IF(WITH_APIDOC)
SET (DOXYGEN_ON_DEMAND FALSE CACHE BOOL "Determines whether the QGIS API doxygen documentation should be built on demand through the target apidoc only. If set to false it is added to the target ALL.")

IF(DOXYGEN_ON_DEMAND)
ADD_CUSTOM_TARGET(apidoc DEPENDS ${QHP_FILES})
ADD_CUSTOM_TARGET(apidoc DEPENDS ${QHP_FILES} version)
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${QGIS_DATA_DIR}/doc/api OPTIONAL)
ELSE(DOXYGEN_ON_DEMAND)
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${QGIS_DATA_DIR}/doc/api)
ADD_CUSTOM_TARGET(apidoc ALL DEPENDS ${QHP_FILES})
ADD_CUSTOM_TARGET(apidoc ALL DEPENDS ${QHP_FILES} version)
ENDIF(DOXYGEN_ON_DEMAND)
ADD_CUSTOM_COMMAND(
OUTPUT ${QHP_FILES}
Expand Down

0 comments on commit c5a95a9

Please sign in to comment.