]> Creatis software - bbtk.git/blobdiff - CMakeLists.txt
change subdirs to add_subdirectory
[bbtk.git] / CMakeLists.txt
index d7889c1852fc6d5a5f9658ad2f3389a0f0e7ed06..a2f62b2886390435de935586b46b5bb3fb8e95f9 100644 (file)
@@ -13,19 +13,19 @@ INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE )
 
 #-----------------------------------------------------------------------------
 # The toolkit kernel (bbtk lib; appli : bbi, bbfy; docs; ...)
-SUBDIRS(kernel)
+ADD_SUBDIRECTORY(kernel)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
 # The "core" packages 
-SUBDIRS(packages)
+ADD_SUBDIRECTORY(packages)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
 # The samples
 #OPTION(BUILD_BBTK_SAMPLES "Build bbtk samples" OFF)
 #IF(BUILD_BBTK_SAMPLES)
-#  SUBDIRS(samples)
+#  ADD_SUBDIRECTORY(samples)
 #ENDIF(BUILD_BBTK_SAMPLES)
 #-----------------------------------------------------------------------------