Support cmake versions supplied by Ubuntu repos.

Mirroring @rockerbacon's commit: 431c7c038c86574f8ba19f43ecaa52b443c9d135
This commit is contained in:
pixl 2019-07-23 16:27:48 -04:00 committed by GitHub
parent fef5ade956
commit 684f502b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.10)
project(logiops) project(logiops)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
@ -11,4 +11,4 @@ add_subdirectory(src/logid)
if(NOT EXISTS "${PROJECT_BINARY_DIR}/logid.cfg") if(NOT EXISTS "${PROJECT_BINARY_DIR}/logid.cfg")
configure_file("logid.example.cfg" "logid.cfg" COPYONLY) configure_file("logid.example.cfg" "logid.cfg" COPYONLY)
endif() endif()