Qt6: fix macos deploy

This commit is contained in:
tobtoht 2022-05-24 22:42:33 +02:00
parent 60bebab6f4
commit 1f90825a5b
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -1,6 +1,6 @@
if(APPLE OR (WIN32 AND NOT STATIC)) if(APPLE OR (WIN32 AND NOT STATIC))
add_custom_target(deploy) add_custom_target(deploy)
get_target_property(_qmake_executable Qt5::qmake IMPORTED_LOCATION) get_target_property(_qmake_executable Qt::qmake IMPORTED_LOCATION)
get_filename_component(_qt_bin_dir "${_qmake_executable}" DIRECTORY) get_filename_component(_qt_bin_dir "${_qmake_executable}" DIRECTORY)
if(APPLE AND NOT IOS) if(APPLE AND NOT IOS)