Make sure we're notifiying if the docs are available

This commit is contained in:
Matt Williams
2015-02-28 10:17:56 +00:00
parent 65f966555d
commit 969310f327
2 changed files with 5 additions and 2 deletions

View File

@ -135,6 +135,7 @@ set_package_properties(Doxygen PROPERTIES URL http://www.doxygen.org DESCRIPTION
#Documentation
if(DOXYGEN_FOUND)
SET(BUILD_DOCS ON PARENT_SCOPE)
#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/polyvox.css ${CMAKE_CURRENT_BINARY_DIR}/polyvox.css)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
#This is just the default doc target which only runs Doxygen
@ -167,4 +168,6 @@ if(DOXYGEN_FOUND)
OPTIONAL
)
endif()
else()
SET(BUILD_DOCS OFF PARENT_SCOPE)
endif()