From a5aab6afd9b27e1d68c97b3ddd18d0004290c39a Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Fri, 22 Sep 2023 17:13:13 -0400 Subject: [PATCH] Fix PROJECT_VERSION_FULL if git is not available --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2688a4de0..8bc20f1e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ else() MESSAGE(STATUS "Git was not found or an error occurred parsing the tag. Falling back to Configuration.h values (${PROJECT_VERSION}).") endif() set(FW_COMMIT_HASH "0") # Clear it, the code expects a binary... - +set(PROJECT_VERSION_FULL "v${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_REV}-${PROJECT_VERSION_FLV}${PROJECT_VERSION_FLV_VER}-${PROJECT_VERSION_COMMIT}") endif() # Language configuration