mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
bootstrap: Report -rc# in --version output
This commit is contained in:
parent
cb51088f75
commit
82578d995a
@ -42,6 +42,10 @@ cmake_version_tweak="`cmake_version_component TWEAK`"
|
||||
if [ "$cmake_version_tweak" != "0" ]; then
|
||||
cmake_version="${cmake_version}.${cmake_version_tweak}"
|
||||
fi
|
||||
cmake_version_rc="`cmake_version_component RC`"
|
||||
if [ "$cmake_version_rc" != "" ]; then
|
||||
cmake_version="${cmake_version}-rc${cmake_version_rc}"
|
||||
fi
|
||||
|
||||
cmake_data_dir="share/cmake-${cmake_version_major}.${cmake_version_minor}"
|
||||
cmake_doc_dir="doc/cmake-${cmake_version_major}.${cmake_version_minor}"
|
||||
|
Loading…
Reference in New Issue
Block a user