File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,13 +212,14 @@ if(TFEL_FOUND)
212212endif (TFEL_FOUND )
213213
214214#documentations
215+ option (enable-doxygen-doc "enable generation of the Doxygen documentation" OFF )
216+ option (enable-website "enable generation of the website" ON )
215217
216218if (enable-doxygen-doc OR enable-website)
217219 add_custom_target (doc )
218220endif (enable-doxygen-doc OR enable-website )
219221
220222# add a target to generate API documentation with Doxygen
221- option (enable-doxygen-doc "enable generation of the Doxygen documentation" OFF )
222223if (enable-doxygen-doc)
223224 file (MAKE_DIRECTORY ${CMAKE_BINARY_DIR} /docs )
224225 find_package (Doxygen )
@@ -241,7 +242,6 @@ else(enable-doxygen-doc)
241242 message (STATUS "doxygen documentation is not enabled" )
242243endif (enable-doxygen-doc )
243244
244- option (enable-website "enable generation of the website" ON )
245245if (enable-website)
246246 set (MGIS_GENERATE_WEBSITE OFF )
247247 # Looking for pandoc (http://johnmacfarlane.net/pandoc)
You can’t perform that action at this time.
0 commit comments