nixpkgs/pkgs/applications/misc/copyq/cmake-modules.patch

13 lines
378 B
Diff
Raw Normal View History

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d910299e..69888477 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -99,6 +99,7 @@ endif()
# Qt modules
if (WITH_QT5)
+ find_package(Qt5 REQUIRED COMPONENTS Network Svg Xml Script)
qt5_use_modules(copyq Widgets Network Svg Xml Script ${copyq_Qt5_Modules})
else()
set(QT_USE_QTNETWORK TRUE)