Commit 6d42281b authored by Jason Rhinelander's avatar Jason Rhinelander

Don't add doc at all when doxygen not found

Otherwise doxygen becomes required despite the code to avoid that in
CMakeLists.txt.
parent 9dedd5a5
......@@ -135,10 +135,8 @@ else()
set(fracdist_docdir "share/doc/fracdist")
endif()
if (fracdist_PACKAGE_DOCS)
if (DEFINED fracdist_PACKAGE_DOCS)
add_subdirectory(doc)
else()
add_subdirectory(doc EXCLUDE_FROM_ALL)
endif()
......
Markdown is supported
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