0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/qt6ct/CMakeLists.txt.patch
2024-08-02 12:23:15 +05:30

14 lines
449 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,8 +50,10 @@
endif()
endif()
+if(NOT CMAKE_CROSSCOMPILING)
#execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} --plugin-dir OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
+endif()
if(PLUGINDIR)
message(STATUS "Plugin path: ${PLUGINDIR}")