fix cmake version string extra

This commit is contained in:
mckaygerhard 2023-09-12 01:40:54 -04:00
parent 9cf276044a
commit 0cab4b1c19

View File

@ -65,7 +65,7 @@ if(NOT ${VERSION_TWEAK} EQUAL 0)
set(VERSION_STRING "${VERSION_STRING}.${VERSION_TWEAK}")
endif()
if(VERSION_EXTRA)
set(VERSION_STRING ${VERSION_STRING}-${VERSION_EXTRA})
set(VERSION_STRING "${VERSION_STRING}-${VERSION_EXTRA}")
elseif(DEVELOPMENT_BUILD)
set(VERSION_STRING "${VERSION_STRING}-dev")
endif()