From: Pierre Ossman Date: Thu, 27 Oct 2022 09:19:07 +0000 (+0200) Subject: Automatically generate RCVERSION X-Git-Tag: v1.12.90~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7c288cfcdf15bc31af2a5d3c1c02302c3f3882c9;p=tigervnc.git Automatically generate RCVERSION Avoid having to update this manually. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3dbb7309..dffde973 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ project(tigervnc) set(VERSION 1.12.80) # The RC version must always be four comma-separated numbers -set(RCVERSION 1,12,80,0) +string(REPLACE . , RCVERSION "${VERSION}.0") # Installation paths include(GNUInstallDirs)