Skip to content

Commit

Permalink
Attempt to force the selection of a compatible version of doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
lebarsfa committed Oct 22, 2023
1 parent 88d860f commit 75b652e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ 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)

message(STATUS "Doxygen not found, not able to generate/install the API documentation.")

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)

Expand Down

0 comments on commit 75b652e

Please sign in to comment.