0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/lxqt-qtplugin/src-CMakeLists.txt.patch
Biswapriyo Nath ba64301b95 bump(x11/lxqt-qtplugin): 2.1.0
Fix libqtlxqt.so path after cross compile in builder container.
Otherwise, it is installed in PREFIX/opt/qt6/cross/ directory.
2024-11-05 18:41:31 +05:30

16 lines
410 B
Diff

Fix libqtlxqt.so path after cross compile in builder container.
Otherwise, it is installed in PREFIX/opt/qt6/cross/ directory.
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -39,7 +39,9 @@
Qt6XdgIconLoader
)
+if(NOT CMAKE_CROSSCOMPILING)
lxqt_query_qt(_QT_PLUGINS_DIR QT_INSTALL_PLUGINS)
+endif()
if (NOT _QT_PLUGINS_DIR)
message(FATAL_ERROR "Qt6 plugin directory cannot be detected.")