From b031727fa28780a90e1fbded293c86b0e7090fd5 Mon Sep 17 00:00:00 2001 From: hvellyr Date: Sun, 29 May 2016 23:48:46 +0200 Subject: [PATCH] Cmake 2.8 is more than sufficient ... for the purposes of this project and makes testing on older platforms easier. In addition travis-ci has by default only cmake 2.8. --- CMakeLists.txt | 2 +- example/CMakeLists.txt | 2 +- language/culebra/CMakeLists.txt | 2 +- language/pl0/CMakeLists.txt | 2 +- lint/CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 463aae9..115fe70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8) add_definitions("-std=c++1y") add_subdirectory(lint) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index b421ee7..7fb8cec 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8) include_directories(..) add_definitions("-std=c++1y") diff --git a/language/culebra/CMakeLists.txt b/language/culebra/CMakeLists.txt index 8e32721..d47cc47 100644 --- a/language/culebra/CMakeLists.txt +++ b/language/culebra/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8) include_directories(../..) add_definitions("-std=c++1y") diff --git a/language/pl0/CMakeLists.txt b/language/pl0/CMakeLists.txt index 297763b..2a049e8 100644 --- a/language/pl0/CMakeLists.txt +++ b/language/pl0/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8) include_directories(../..) add_definitions("-std=c++1y") diff --git a/lint/CMakeLists.txt b/lint/CMakeLists.txt index 45f9d69..1ec9399 100644 --- a/lint/CMakeLists.txt +++ b/lint/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8) include_directories(..) add_definitions("-std=c++1y") diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 134e994..8ad2766 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8) include_directories(..) add_definitions("-std=c++1y")