From 164cb1285b1adc4ccc3a854ef10f5d7d9cfad79e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 10 Aug 2022 20:18:37 +0200 Subject: [PATCH] build: Set MACOSX_BUNDLE_INFO_PLIST in a different way --- cmake/build_helpers.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 1d5b8faa9..ca4b00c0a 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -163,6 +163,8 @@ macro(configurePackingResources) else () set ( bundle_path "${CMAKE_BINARY_DIR}/ImHex.app" ) endif() + + set_property(TARGET main PROPERTY MACOSX_BUNDLE_INFO_PLIST ${MACOSX_BUNDLE_INFO_PLIST}) endif() endif() endmacro()