diff --git a/projects/qt6.system.cmake b/projects/qt6.system.cmake index c53f7121b6cbafc7cfbe6e53adbd6e6691176bb5..7e944f7fc1b72c3d117a346b70115374fc7fccba 100644 --- a/projects/qt6.system.cmake +++ b/projects/qt6.system.cmake @@ -34,7 +34,7 @@ foreach (qt6_component IN LISTS qt6_components) -DQt6${qt6_component}_DIR:PATH=${Qt6_DIR}/../Qt6${qt6_component}) endforeach () -if (APPLE) +if (UNIX) get_filename_component(qt6_rpath "${Qt6_DIR}/../.." REALPATH) endif ()