diff options
Diffstat (limited to 'Tests/SubDir')
-rw-r--r-- | Tests/SubDir/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/SubDir/Examples/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/SubDir/Examples/example1/CMakeLists.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Tests/SubDir/CMakeLists.txt b/Tests/SubDir/CMakeLists.txt index b0f9f62..9cfbe25 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 44f2ad2..b0f1e89 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 e465899..3036183 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) |