From b0ca5f2666690d094264bd168a1a1a8e9773acf1 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Thu, 1 Aug 2024 11:59:15 -0400 Subject: [PATCH] DolphinPostprocessBundle: Use TARGET_BUNDLE_DIR to avoid having to make a relative path absolute --- CMake/DolphinPostprocessBundle.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMake/DolphinPostprocessBundle.cmake b/CMake/DolphinPostprocessBundle.cmake index ba412ba48d..dfc71779f7 100644 --- a/CMake/DolphinPostprocessBundle.cmake +++ b/CMake/DolphinPostprocessBundle.cmake @@ -14,14 +14,13 @@ if(CMAKE_GENERATOR) set(_DOLPHIN_POSTPROCESS_BUNDLE_MODULE_LOCATION "${CMAKE_CURRENT_LIST_FILE}") function(dolphin_postprocess_bundle target) add_custom_command(TARGET ${target} POST_BUILD - COMMAND ${CMAKE_COMMAND} -DDOLPHIN_BUNDLE_PATH="$/../.." + COMMAND ${CMAKE_COMMAND} -DDOLPHIN_BUNDLE_PATH="$" -P "${_DOLPHIN_POSTPROCESS_BUNDLE_MODULE_LOCATION}" ) endfunction() return() endif() -get_filename_component(DOLPHIN_BUNDLE_PATH "${DOLPHIN_BUNDLE_PATH}" ABSOLUTE) message(STATUS "Fixing up application bundle: ${DOLPHIN_BUNDLE_PATH}") # Make sure to fix up any additional shared libraries (like plugins) that are