diff --git a/CMakeLists.txt b/CMakeLists.txt index e9aa9e79a..d14466baf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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)