Fix version info

This commit is contained in:
Phillip Stephens 2022-01-09 21:26:51 -08:00
parent b354ed0740
commit bf678daca2
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
4 changed files with 3 additions and 1 deletions

View File

@ -131,11 +131,13 @@ elseif ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
endif () endif ()
if (WIN32) if (WIN32)
configure_file(platforms/win/metaforce-gui.rc.in "${CMAKE_CURRENT_SOURCE_DIR}/platforms/win/metaforce.rc" @ONLY)
target_sources(metaforce-gui PRIVATE target_sources(metaforce-gui PRIVATE
platforms/win/metaforce-gui.manifest platforms/win/metaforce-gui.manifest
platforms/win/metaforce-gui.rc platforms/win/metaforce-gui.rc
) )
elseif (APPLE) elseif (APPLE)
configure_file(platforms/mac/Info.plist.in "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist" @ONLY)
set_target_properties(metaforce-gui PROPERTIES set_target_properties(metaforce-gui PROPERTIES
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist" MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist"
) )

View File

@ -2,7 +2,7 @@
#define VERSION_H #define VERSION_H
#define METAFORCE_WC_DESCRIBE "@METAFORCE_WC_DESCRIBE@" #define METAFORCE_WC_DESCRIBE "@METAFORCE_WC_DESCRIBE@"
#define METAFORCE_VERSION_STRING "@METAFORCE_VERISON_STRING@" #define METAFORCE_VERSION_STRING "@METAFORCE_VERSION_STRING@"
#define METAFORCE_WC_BRANCH "@METAFORCE_WC_BRANCH@" #define METAFORCE_WC_BRANCH "@METAFORCE_WC_BRANCH@"
#define METAFORCE_WC_REVISION "@METAFORCE_WC_REVISION@" #define METAFORCE_WC_REVISION "@METAFORCE_WC_REVISION@"