From 3c27c38e7152078c9505504684d27886f12aab5e 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 bd766e0453..153f9eb4b5 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-emu 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()