From 500c83231f1f13a7b02da1bfa8c848e765b9d3d0 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Mon, 26 Oct 2020 13:01:25 +0100 Subject: Bump minimum CMake version to 3.0 A nice, round number. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4fa45c..80ac1dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -project (uirc3 C) -cmake_minimum_required (VERSION 2.8.11) +cmake_minimum_required (VERSION 3.0) +project (uirc3 VERSION 0.9.8 LANGUAGES C) # Options option (WANT_READLINE "Use GNU Readline for the UI (better)" ON) @@ -13,7 +13,7 @@ if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC) endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC) # Version -set (project_version "0.9.8") +set (project_version "${PROJECT_VERSION}") # Try to append commit ID if it follows a version tag. It might be nicer if # we could also detect dirty worktrees but that's very hard to get right. -- cgit v1.2.3-70-g09d2