Skip to content

Commit

Permalink
Fix version info
Browse files Browse the repository at this point in the history
  • Loading branch information
Antidote committed Jan 10, 2022
1 parent b354ed0 commit bf678da
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions metaforce-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@"
Expand Down

0 comments on commit bf678da

Please sign in to comment.