summaryrefslogtreecommitdiff
path: root/Tests/SubDir
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-25 11:27:18 -0400
committerKen Martin <ken.martin@kitware.com>2008-03-25 11:27:18 -0400
commitce8810c4e7b95637136c3e47b87f8fa409bfbbee (patch)
tree34875227f81c403b37530fe5cb390ebb202d645e /Tests/SubDir
parent5905d79c8a10b172642a1b534f088b965667b007 (diff)
downloadcmake-ce8810c4e7b95637136c3e47b87f8fa409bfbbee.tar.gz
ENH: preclean some warnings
Diffstat (limited to 'Tests/SubDir')
-rw-r--r--Tests/SubDir/CMakeLists.txt1
-rw-r--r--Tests/SubDir/Examples/CMakeLists.txt1
-rw-r--r--Tests/SubDir/Examples/example1/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/Tests/SubDir/CMakeLists.txt b/Tests/SubDir/CMakeLists.txt
index b0f9f62524..9cfbe25ce0 100644
--- a/Tests/SubDir/CMakeLists.txt
+++ b/Tests/SubDir/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required (VERSION 2.6)
PROJECT(SUBDIR)
SUBDIRS(Executable EXCLUDE_FROM_ALL Examples)
WRITE_FILE(${SUBDIR_BINARY_DIR}/ShouldBeHere "This file should exist.")
diff --git a/Tests/SubDir/Examples/CMakeLists.txt b/Tests/SubDir/Examples/CMakeLists.txt
index 44f2ad236a..b0f1e896c8 100644
--- a/Tests/SubDir/Examples/CMakeLists.txt
+++ b/Tests/SubDir/Examples/CMakeLists.txt
@@ -1,2 +1,3 @@
+cmake_minimum_required (VERSION 2.6)
PROJECT(Examples)
SUBDIRS(example1 example2)
diff --git a/Tests/SubDir/Examples/example1/CMakeLists.txt b/Tests/SubDir/Examples/example1/CMakeLists.txt
index e465899d56..3036183211 100644
--- a/Tests/SubDir/Examples/example1/CMakeLists.txt
+++ b/Tests/SubDir/Examples/example1/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required (VERSION 2.6)
PROJECT(example1)
ADD_EXECUTABLE(example1 example1.cxx)