Skip to content

Commit d4e7475

Browse files
committed
Fix Issue #128
1 parent 6e04e07 commit d4e7475

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ endif(TFEL_FOUND)
213213

214214
#documentations
215215

216+
if(enable-doxygen-doc OR enable-website)
217+
add_custom_target(doc)
218+
endif(enable-doxygen-doc OR enable-website)
219+
216220
# add a target to generate API documentation with Doxygen
217221
option(enable-doxygen-doc "enable generation of the Doxygen documentation" OFF)
218222
if(enable-doxygen-doc)
@@ -259,10 +263,6 @@ else(enable-website)
259263
message(STATUS "Generation of the MGIS website disabled")
260264
endif(enable-website)
261265

262-
if(enable-doxygen-doc OR enable-website)
263-
add_custom_target(doc)
264-
endif(enable-doxygen-doc OR enable-website)
265-
266266
add_subdirectory(docs)
267267

268268
# testing

0 commit comments

Comments
 (0)