mirror of https://github.com/AxioDL/metaforce.git
Fix version info
This commit is contained in:
parent
b354ed0740
commit
bf678daca2
|
@ -131,11 +131,13 @@ elseif ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
|||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
configure_file(platforms/win/metaforce-gui.rc.in "${CMAKE_CURRENT_SOURCE_DIR}/platforms/win/metaforce.rc" @ONLY)
|
||||
target_sources(metaforce-gui PRIVATE
|
||||
platforms/win/metaforce-gui.manifest
|
||||
platforms/win/metaforce-gui.rc
|
||||
)
|
||||
elseif (APPLE)
|
||||
configure_file(platforms/mac/Info.plist.in "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist" @ONLY)
|
||||
set_target_properties(metaforce-gui PROPERTIES
|
||||
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist"
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define VERSION_H
|
||||
|
||||
#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_REVISION "@METAFORCE_WC_REVISION@"
|
||||
|
|
Loading…
Reference in New Issue