Browse Source

COMP: Superbuild - Documentation directory is added in CTK project only not at superbuild level

Jean-Christophe Fillion-Robin 15 years ago
parent
commit
d20066ab1c
1 changed files with 5 additions and 4 deletions
  1. 5 4
      CMakeLists.txt

+ 5 - 4
CMakeLists.txt

@@ -297,10 +297,6 @@ OPTION(CTK_USE_KWSTYLE     "Enable sourcecode-based style tests." OFF)
 #MARK_AS_ADVANCED(CTK_USE_KWSTYLE)
 
 #---------------------------------------------------------------------------
-# Documentation
-ADD_SUBDIRECTORY( Documentation )
-
-#---------------------------------------------------------------------------
 # Will contain a list of sub-directory without option ON or OFF
 #
 SET(CTK_LIBS_SUBDIRS )
@@ -500,6 +496,11 @@ ENDFOREACH()
 #
 INCLUDE(Utilities/KWStyle/KWStyle.cmake)
 
+#---------------------------------------------------------------------------
+# Documentation
+#
+ADD_SUBDIRECTORY( Documentation )
+
 #-----------------------------------------------------------------------------
 # The commands in this directory are intended to be executed as
 # the end of the whole configuration process, as a "last step".