Skip to content

Commit ed25d9b

Browse files
committed
Fix Issue #128
1 parent d4e7475 commit ed25d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,14 @@ if(TFEL_FOUND)
212212
endif(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

216218
if(enable-doxygen-doc OR enable-website)
217219
add_custom_target(doc)
218220
endif(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)
222223
if(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")
242243
endif(enable-doxygen-doc)
243244

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

0 commit comments

Comments
 (0)