diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 19e5f7112..58ba02ac2 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -10,8 +10,8 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mathjax_stmaryrd.js # Technical API documentation (Doxygen) if(WITH_PYTHON) - - find_package(Doxygen) + + find_package(Doxygen 1.0.0...1.9.6) if(NOT DOXYGEN_FOUND) @@ -19,6 +19,12 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mathjax_stmaryrd.js else() + if(NOT DOXYGEN_DIR) + message(STATUS "Doxygen ${DOXYGEN_VERSION} found.") + else() + message(STATUS "Doxygen ${DOXYGEN_VERSION} found in ${DOXYGEN_DIR}.") + endif() + # Includes CMake commands in config file: configure_file(api/Doxyfile.in api/Doxyfile)