From 3cebb92ceed64be22e60d7a84aad698e0f61525a Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 15 Apr 2014 11:24:09 +0200
Subject: [PATCH] Renamed test target also on Travis.

---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ffcd71f112..6a94ce035f3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,7 +37,9 @@ INCLUDE(scripts/cmake/Find.cmake)
 INCLUDE(scripts/cmake/SubmoduleSetup.cmake)
 INCLUDE(scripts/cmake/ProjectSetup.cmake)
 INCLUDE(scripts/cmake/DocumentationSetup.cmake)
-INCLUDE(scripts/cmake/test/Test.cmake)
+IF(CMAKE_VERSION VERSION_GREATER 2.8.10)
+	INCLUDE(scripts/cmake/test/Test.cmake)
+ENDIF()
 IF(OGS_COVERAGE AND NOT IS_SUBPROJECT)
 	INCLUDE(scripts/cmake/Coverage.cmake)
 ENDIF()
-- 
GitLab