From 568b7f5139784857b839efca7fc9c3ec520dc53a Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 10 Aug 2022 20:26:27 +0200 Subject: [PATCH] build: Move plist property setting --- cmake/build_helpers.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index ca4b00c0a..c8ba502d2 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -163,8 +163,6 @@ 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() @@ -261,7 +259,8 @@ macro(createPackage) include(PostprocessBundle) set_target_properties(libimhex PROPERTIES SOVERSION ${IMHEX_VERSION}) - + + set_property(TARGET main PROPERTY MACOSX_BUNDLE_INFO_PLIST ${MACOSX_BUNDLE_INFO_PLIST}) # Fix rpath add_custom_command(TARGET imhex_all POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL} -add_rpath "@executable_path/../Frameworks/" $)