cmake: Require generation of PATCH and TWEAK variables

Might fix the missing PROJECT_VERSION_TWEAK issue that has been encountered.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-01-11 05:47:00 +01:00
parent b48c1db138
commit b15fd787b6

View file

@ -181,6 +181,7 @@ if(NOT ("${${PREFIX}VERSION}" STREQUAL ""))
TWEAK "${_VERSION_CFG_TWEAK}"
PRERELEASE "${_VERSION_CFG_PRERELEASE}"
BUILD "${_VERSION_CFG_BUILD}"
REQUIRE PATCH TWEAK
)
endif()