Skip to content
Permalink
Browse files
Merge pull request #8435 from firodj/pr-fix-macos-qt-plugin-cocoa
DolphinQt: Fix qt.qpa.plugin on MacOS
  • Loading branch information
spycrab committed Dec 10, 2019
2 parents 6f27409 + 14e47e4 commit 0cb3257
Showing 1 changed file with 5 additions and 0 deletions.
@@ -433,6 +433,11 @@ if(APPLE)
# Update library references to make the bundle portable
include(DolphinPostprocessBundle)
dolphin_postprocess_bundle(dolphin-emu)
# Fix rpath
add_custom_command(TARGET dolphin-emu
POST_BUILD COMMAND
${CMAKE_INSTALL_NAME_TOOL} -add_rpath "@executable_path/../Frameworks/"
$<TARGET_FILE:dolphin-emu>)
else()
install(TARGETS dolphin-emu RUNTIME DESTINATION ${bindir})
endif()

0 comments on commit 0cb3257

Please sign in to comment.