diff options
| -rw-r--r-- | CMakeLists.txt | 4 |
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) |