From 47cac23048b40e8e5d24fbe3ae676e0603d7db27 Mon Sep 17 00:00:00 2001 From: Frederic Cervenansky Date: Wed, 10 Nov 2010 15:27:22 +0000 Subject: [PATCH] change SUBDIRS (deprecate functionality) to ADD_SUBDIRECTORY --- CMakeLists.txt | 6 +++--- lib/CMakeLists.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c521b10..7175643 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,6 @@ MARK_AS_ADVANCED( ) -SUBDIRS(lib) -SUBDIRS(install) -#SUBDIRS(appli) +ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(install) +#ADD_SUBDIRECTORY(appli) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 777742c..1816ec7 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,2 +1,2 @@ -# Add a SUBDIRS command for each of your libraries -SUBDIRS(kernel_Environment) +# Add a ADD_SUBDIRECTORY command for each of your libraries +ADD_SUBDIRECTORY(kernel_Environment) -- 2.47.1