From b15fd787b68f5d83bcbaedd8df11ba7c8a84c08b Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 11 Jan 2023 05:47:00 +0100 Subject: [PATCH] cmake: Require generation of PATCH and TWEAK variables Might fix the missing PROJECT_VERSION_TWEAK issue that has been encountered. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 609b1d0..d6bd3d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()