From 3cb59beb94994fd4c1096c26b1e0d8c8581e66fc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 7 Feb 2025 11:49:06 -0500 Subject: [PATCH] qt6: provide `qt6_rpath` on all UNIX platforms --- projects/qt6.system.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/qt6.system.cmake b/projects/qt6.system.cmake index c53f7121b..7e944f7fc 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 () -- GitLab