Skip to content

Commit

Permalink
Fix Issue #128
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Mar 13, 2024
1 parent 5dde0de commit 12b4e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,14 @@ if(TFEL_FOUND)
endif(TFEL_FOUND)

#documentations
option(enable-doxygen-doc "enable generation of the Doxygen documentation" OFF)
option(enable-website "enable generation of the website" ON)

if(enable-doxygen-doc OR enable-website)
add_custom_target(doc)
endif(enable-doxygen-doc OR enable-website)

# add a target to generate API documentation with Doxygen
option(enable-doxygen-doc "enable generation of the Doxygen documentation" OFF)
if(enable-doxygen-doc)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/docs)
find_package(Doxygen)
Expand All @@ -241,7 +242,6 @@ else(enable-doxygen-doc)
message(STATUS "doxygen documentation is not enabled")
endif(enable-doxygen-doc)

option(enable-website "enable generation of the website" ON)
if(enable-website)
set(MGIS_GENERATE_WEBSITE OFF)
# Looking for pandoc (http://johnmacfarlane.net/pandoc)
Expand Down

0 comments on commit 12b4e32

Please sign in to comment.