From 6167c90b16857ff3525608f66ad4c8122adf771c Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Fri, 3 Dec 2010 15:56:45 +0000 Subject: [PATCH] Replace deprecated SUBDIRS by ADD_SUBDIRECTORY --- appli/creaNewProject/NewProject/doc/CMakeLists.txt | 6 +++--- samples/CMakeLists.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/appli/creaNewProject/NewProject/doc/CMakeLists.txt b/appli/creaNewProject/NewProject/doc/CMakeLists.txt index 2f9447e..7becfcf 100644 --- a/appli/creaNewProject/NewProject/doc/CMakeLists.txt +++ b/appli/creaNewProject/NewProject/doc/CMakeLists.txt @@ -3,7 +3,7 @@ #----------------------------------------------------------------------------- IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN) INCLUDE(../cmake/UserBuildDoxygenDoc.cmake) - SUBDIRS(UserDoxygen) + ADD_SUBDIRECTORY(UserDoxygen) ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN) #----------------------------------------------------------------------------- @@ -29,7 +29,7 @@ ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML) #----------------------------------------------------------------------------- IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML) - SUBDIRS(UserDocumentation) + ADD_SUBDIRECTORY(UserDocumentation) ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML) #----------------------------------------------------------------------------- # Web site @@ -69,7 +69,7 @@ IF(BUILD_${PROJECT_NAME}_DOC) ) # Recurse it bbtkWebSite dir - SUBDIRS(template_WebSite) + ADD_SUBDIRECTORY(template_WebSite) diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 6e85974..8e3a66c 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -1,3 +1,3 @@ -SUBDIRS(creaSample_MessageManager) -SUBDIRS(creaSample_preprocessor) -SUBDIRS(creaSample_VtkBasicSlicer) +ADD_SUBDIRECTORY(creaSample_MessageManager) +ADD_SUBDIRECTORY(creaSample_preprocessor) +ADD_SUBDIRECTORY(creaSample_VtkBasicSlicer) -- 2.47.1