From 0355d4fd468a384bffe17b6842895b04e330ff5a Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Wed, 4 Dec 2024 22:53:39 -0500 Subject: [PATCH] DolphinQt: Use TARGET_BUNDLE_DIR generator expression instead of specifying the bundle path ourselves --- Source/Core/DolphinQt/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 186e70221b..5fe4c636a5 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -572,7 +572,6 @@ endif() if(APPLE) include(BundleUtilities) - set(BUNDLE_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/DolphinQt.app) # Ask for an application bundle. set_target_properties(dolphin-mpn PROPERTIES @@ -648,7 +647,7 @@ if(APPLE) COMMAND "${CMAKE_SOURCE_DIR}/Tools/mac-codesign.sh" "-e" "${CMAKE_CURRENT_SOURCE_DIR}/DolphinEmu$<$:Debug>.entitlements" "${MACOS_CODE_SIGNING_IDENTITY}" - "${BUNDLE_PATH}" + "$" ) endif() else()