REQUIRED flag will get rid of need to have extra if check

pull/3236/head
Bret Curtis 7 months ago
parent 1edcd80501
commit 1ccf101a92

@ -1110,7 +1110,7 @@ if ( BUILD_DOCS )
# output directory for 'make doc' is "${OpenMW_BINARY_DIR}/docs/Doxygen"
# output directory for 'make doc_pages' is "${DOXYGEN_PAGES_OUTPUT_DIR}" if defined
# or "${OpenMW_BINARY_DIR}/docs/Pages" otherwise
if ( DOXYGEN_FOUND )
# determine output directory for doc_pages
if (NOT DEFINED DOXYGEN_PAGES_OUTPUT_DIR)
set(DOXYGEN_PAGES_OUTPUT_DIR "${OpenMW_BINARY_DIR}/docs/Pages")
@ -1127,7 +1127,6 @@ if ( BUILD_DOCS )
WORKING_DIRECTORY ${OpenMW_BINARY_DIR}
COMMENT "Generating documentation for the github-pages at ${DOXYGEN_PAGES_OUTPUT_DIR}" VERBATIM)
endif ()
endif()
# Qt localization
if (USE_QT)

Loading…
Cancel
Save