Skip to content

Commit

Permalink
Merge pull request #770 from hedning/find_package_fix
Browse files Browse the repository at this point in the history
Fix cmake errors on eg. nixos
  • Loading branch information
hluk committed Aug 24, 2017
2 parents 44c091d + 1098b39 commit b70f1cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b70f1cd

Please sign in to comment.