Skip to content
Snippets Groups Projects
Commit 4cb67dc3 authored by acrovato's avatar acrovato
Browse files

Disable target dox when defined by external project

parent 23f7e4ed
No related branches found
Tags v1.0.1
No related merge requests found
Pipeline #4108 passed
...@@ -94,7 +94,7 @@ ENDIF() ...@@ -94,7 +94,7 @@ ENDIF()
# -- Doxygen (https://vicrucann.github.io/tutorials/quick-cmake-doxygen/) # -- Doxygen (https://vicrucann.github.io/tutorials/quick-cmake-doxygen/)
FIND_PACKAGE(Doxygen) # check if Doxygen is installed FIND_PACKAGE(Doxygen) # check if Doxygen is installed
IF(DOXYGEN_FOUND) IF(DOXYGEN_FOUND AND NOT TARGET dox)
# set input and output files # set input and output files
SET(DOXYGEN_IN ${PROJECT_SOURCE_DIR}/Doxyfile.in) SET(DOXYGEN_IN ${PROJECT_SOURCE_DIR}/Doxyfile.in)
SET(DOXYGEN_OUT ${PROJECT_BINARY_DIR}/Doxyfile) SET(DOXYGEN_OUT ${PROJECT_BINARY_DIR}/Doxyfile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment