changed cmake version from 3.x to 2.8 for centos 7
This commit is contained in:
parent
e0e01d53c2
commit
f2b1a2eb8a
@ -2,7 +2,7 @@
|
|||||||
### CMake settings
|
### CMake settings
|
||||||
###
|
###
|
||||||
# see http://www.cmake.org/Wiki/CMake_Policies
|
# see http://www.cmake.org/Wiki/CMake_Policies
|
||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
add_sources(parse.cpp)
|
add_sources(parse.cpp)
|
||||||
add_executable(parse parse.cpp)
|
add_executable(parse parse.cpp)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user