summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-28 20:58:42 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-28 20:58:42 +1000
commitf39bcb0cd0ba749f592b30cc9ccbaba1c5bb3abd (patch)
treefc9f1ad2b8ea7ae0053a59628cc569874d515460 /CMakeLists.txt
parentci: add release workflow (diff)
downloadcaelestia-shell-f39bcb0cd0ba749f592b30cc9ccbaba1c5bb3abd.tar.gz
caelestia-shell-f39bcb0cd0ba749f592b30cc9ccbaba1c5bb3abd.tar.bz2
caelestia-shell-f39bcb0cd0ba749f592b30cc9ccbaba1c5bb3abd.zip
cmake: strip prefixed versions when passed in
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8689d04..bbf604a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,10 +10,10 @@ if(NOT DEFINED VERSION)
if("${VERSION}" STREQUAL "")
message(FATAL_ERROR "VERSION is not set and failed to get from git")
endif()
-
- string(REGEX REPLACE "^v" "" VERSION "${VERSION}")
endif()
+string(REGEX REPLACE "^v" "" VERSION "${VERSION}")
+
project(caelestia-shell VERSION ${VERSION} LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)