summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-26 13:01:25 +0100
committerPřemysl Eric Janouch <p@janouch.name>2020-10-27 12:02:47 +0100
commit500c83231f1f13a7b02da1bfa8c848e765b9d3d0 (patch)
treeed57b8d0049fd16db142654d59fd487ab1fcb0b1 /CMakeLists.txt
parent4b7649211a936870d6aa946bccbe8aeabffa630c (diff)
downloadxK-500c83231f1f13a7b02da1bfa8c848e765b9d3d0.tar.gz
xK-500c83231f1f13a7b02da1bfa8c848e765b9d3d0.tar.xz
xK-500c83231f1f13a7b02da1bfa8c848e765b9d3d0.zip
Bump minimum CMake version to 3.0
A nice, round number.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files 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.