From f2b1a2eb8a25e4d40cddd429f34788e48db9cd40 Mon Sep 17 00:00:00 2001 From: Kurt Godwin Date: Thu, 5 Sep 2019 09:10:01 -0400 Subject: [PATCH] changed cmake version from 3.x to 2.8 for centos 7 --- CMakeLists.txt | 2 +- util/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb522f9..0caecb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ ### CMake settings ### # see http://www.cmake.org/Wiki/CMake_Policies -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 2.8) include(CheckCXXCompilerFlag) diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt index 8a803b0..8035ea7 100644 --- a/util/CMakeLists.txt +++ b/util/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 2.8) add_sources(parse.cpp) add_executable(parse parse.cpp)