diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bf5b1e62..aa78c6926 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,8 @@ declare_cache_var(ZENOHC_CARGO_FLAGS "" STRING "Additional cargo flags") set(project_version "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") if(NOT PROJECT_VERSION_TWEAK) set(project_version "${project_version}-dev") +elseif(PROJECT_VERSION_TWEAK EQUAL 1) + set(project_version "${project_version}-rc") elseif(PROJECT_VERSION_TWEAK LESS 255) set(project_version "${project_version}-rc.${PROJECT_VERSION_TWEAK}") endif()