From ce06d9bdfbb536a84623742b35c75dc5c1d0d7d7 Mon Sep 17 00:00:00 2001 From: Mary Date: Tue, 29 Dec 2020 20:41:43 +0100 Subject: [PATCH] Fix version and vendor in macOS bundle --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 30ef6635c..c02225414 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,11 +95,11 @@ elseif (APPLE) set(application_type MACOSX_BUNDLE) set_source_files_properties(${imhex_icon} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) set(MACOSX_BUNDLE_ICON_FILE "AppIcon.icns") - set(MACOSX_BUNDLE_INFO_STRING ${CPACK_PACKAGE_VENDOR}) + set(MACOSX_BUNDLE_INFO_STRING "WerWolv") set(MACOSX_BUNDLE_GUI_IDENTIFIER "WerWolv.ImHex") - set(MACOSX_BUNDLE_LONG_VERSION_STRING ${CPACK_PACKAGE_VERSION}) - set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}") - set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2020 WerWolv. All rights reserved." ) + set(MACOSX_BUNDLE_LONG_VERSION_STRING ${PROJECT_VERSION}) + set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}") + set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2020 WerWolv and Thog. All rights reserved." ) if ("${CMAKE_GENERATOR}" STREQUAL "Xcode") set ( bundle_path "${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/imhex.app" ) else ()