nixpkgs/pkgs/applications/misc/copyq/cmake-modules.patch
Tor Hedin Brønner be8e1b9917 copyq: 2.9.0 -> 3.0.3
- Updated to use qt5
- Added a required cmake patch (like this one for kdenlive
  https://github.com/NixOS/nixpkgs/issues/26160)
- Optional, by default true, dependency on qtwebkit
2017-08-24 15:17:58 +02:00

13 lines
378 B
Diff

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)