summaryrefslogtreecommitdiff
path: root/tests/examplefiles/main.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/main.cmake')
-rw-r--r--tests/examplefiles/main.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examplefiles/main.cmake b/tests/examplefiles/main.cmake
index dac3da43..71dc3ce7 100644
--- a/tests/examplefiles/main.cmake
+++ b/tests/examplefiles/main.cmake
@@ -1,3 +1,5 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
+
SET( SOURCES back.c io.c main.c )
MESSAGE( ${SOURCES} ) # three arguments, prints "back.cio.cmain.c"
MESSAGE( "${SOURCES}" ) # one argument, prints "back.c;io.c;main.c"