Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions avidemux/osxInstaller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ LIST(APPEND bundleDirs "${BUNDLE}/Contents/Resources/lib")
IF(ENABLE_QT6)
# A gross hack to work around the failure to resolve @loader_path for libbrotli.
LIST(APPEND bundleDirs "/usr/local/lib")
# Let fixup_bundle resolve the @rpath/Qt*.framework references carried by the
# Qt platform and style plugins against the Qt actually used for this build
# (Homebrew on arm64 or Intel, or a custom MYQT installation alike). Whether
# the app binaries otherwise carry a usable rpath for this depends on the
# install-rpath machinery, which e.g. a LIBRARY_PATH environment variable
# silently disables.
IF(Qt6_DIR)
get_filename_component(ADM_QT_LIB_DIR "${Qt6_DIR}/../.." ABSOLUTE)
LIST(APPEND bundleDirs "${ADM_QT_LIB_DIR}")
ENDIF()
ENDIF()
#

Expand Down