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
This commit is contained in:
Tellow Krinkle 2020-03-29 20:04:03 -05:00
parent 1b97f081b8
commit f04f5fe930
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ if(CMAKE_GENERATOR)
return() return()
endif() 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}") message(STATUS "Fixing up application bundle: ${DOLPHIN_BUNDLE_PATH}")
# Make sure to fix up any additional shared libraries (like plugins) that are # Make sure to fix up any additional shared libraries (like plugins) that are