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 4a3277e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion metaforce-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,15 @@ elseif ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
endif ()

if (WIN32)
configure_file(platforms/win/metaforce.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"
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/metaforce-gui/platforms/mac/Info.plist"
)
target_sources(metaforce-gui PRIVATE platforms/mac/mainicon.icns)
set_source_files_properties(platforms/mac/mainicon.icns PROPERTIES
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 4a3277e

Please sign in to comment.