WSL/SLF GitLab Repository

Commit 8aa4ae0b authored by Mathias Bavay's avatar Mathias Bavay
Browse files

We had a weird structure for the "doc" target that was triggering a warning in cmake-3.0

parent 024d42ba
......@@ -229,12 +229,7 @@ ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/c
INCLUDE(FindDoxygen)
FIND_PACKAGE(Doxygen)
if (DOXYGEN_FOUND)
ADD_CUSTOM_TARGET(documentation "doxygen" ${PROJECT_SOURCE_DIR}/meteoio/config.dox)
GET_TARGET_PROPERTY(DOC_TARGET doc TYPE)
IF(NOT DOC_TARGET)
ADD_CUSTOM_TARGET(doc)
ENDIF(NOT DOC_TARGET)
ADD_DEPENDENCIES(doc documentation)
ADD_CUSTOM_TARGET(doc "doxygen" ${PROJECT_SOURCE_DIR}/meteoio/config.dox)
ENDIF (DOXYGEN_FOUND)
#Install the documentation if the user desires it
SET(INSTALL_DOC OFF CACHE BOOL "Install documentation ON or OFF")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment