From f04f5fe9300f0eb48a9e07237df5028a729f6d43 Mon Sep 17 00:00:00 2001 From: Tellow Krinkle Date: Sun, 29 Mar 2020 20:04:03 -0500 Subject: [PATCH] Match path type to BundleUtilities when running fixup_bundle BundleUtilities uses `ABSOLUTE`, and if you use `REALPATH` (which removes symlinks) and compile from a path that contains symlinks, BundleUtilities will complain about things not being inside the main app bundle because some paths don't match --- CMake/DolphinPostprocessBundle.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/DolphinPostprocessBundle.cmake b/CMake/DolphinPostprocessBundle.cmake index 4d2eee175e..ba412ba48d 100644 --- a/CMake/DolphinPostprocessBundle.cmake +++ b/CMake/DolphinPostprocessBundle.cmake @@ -21,7 +21,7 @@ if(CMAKE_GENERATOR) return() endif() -get_filename_component(DOLPHIN_BUNDLE_PATH "${DOLPHIN_BUNDLE_PATH}" REALPATH) +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