Skip to content

Commit

Permalink
dirty fix for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
0verEngineer committed Dec 15, 2023
1 parent 6cdd2c7 commit f1e54d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ elseif(NOT USE_SYSTEM_QT)

if(APPLE)
get_filename_component(QT_FRAMEWORK ${QT_LIBRARY} DIRECTORY)

# FIXME: QT_LIBRARY points directly to the library bin instead of the symlink 2 directories above (since qt6)
string(REGEX REPLACE "/Versions/.*" "" QT_FRAMEWORK "${QT_FRAMEWORK}")

set(DEST_DIR ${CONTENTS_DIR}/Frameworks)
install(
DIRECTORY ${QT_FRAMEWORK}/../..
DIRECTORY ${QT_FRAMEWORK}
DESTINATION ${DEST_DIR}
COMPONENT ${GITTYUP_NAME}
PATTERN "*.prl" EXCLUDE
Expand Down

0 comments on commit f1e54d8

Please sign in to comment.