From d343d3e801e1532ae81d87f4ba16a15c6a5b8b81 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Fri, 3 Dec 2010 15:57:00 +0000 Subject: [PATCH] Replace deprecated SUBDIRS by ADD_SUBDIRECTORY --- CMakeLists.txt | 6 +++--- appli/CMakeLists.txt | 6 +++--- lib/CMakeLists.txt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aabdc0c..b41d0be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,8 +64,8 @@ MARK_AS_ADVANCED( #================================== # Subdirs -#SUBDIRS(appli) -#SUBDIRS(lib) -SUBDIRS(install) +#ADD_SUBDIRECTORY(appli) +#ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(install) #================================== #================================== diff --git a/appli/CMakeLists.txt b/appli/CMakeLists.txt index 1f5bdfc..70272d0 100644 --- a/appli/CMakeLists.txt +++ b/appli/CMakeLists.txt @@ -1,3 +1,3 @@ -# Add a SUBDIRS command for each of your applications -# SUBDIRS(MyApp1) -# SUBDIRS(MyApp2) +# Add a ADD_SUBDIRECTORY command for each of your applications +# ADD_SUBDIRECTORY(MyApp1) +# ADD_SUBDIRECTORY(MyApp2) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index a9bd25b..1ad4733 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,2 +1,2 @@ -# Add a SUBDIRS command for each of your libraries -# SUBDIRS(MyLib1) +# Add a ADD_SUBDIRECTORY command for each of your libraries +# ADD_SUBDIRECTORY(MyLib1) -- 2.47.1