Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /notify/CMakeLists.txt [83bbc1] .. [434a09] Maximize Restore

  Switch to side-by-side view

--- a/notify/CMakeLists.txt
+++ b/notify/CMakeLists.txt
@@ -14,7 +14,9 @@
 file(GLOB ui_src *.ui)
 file(GLOB rc_src *.qrc)
 
-find_package(Qt5Core QUIET)
+if(NOT BUILD_QT4ONLY)
+    find_package(Qt5Core QUIET)
+endif()
 if(Qt5Core_FOUND)
     find_package(Qt5Network REQUIRED)
     set(QT_NETWORK ${QT_LIBRARIES} ${Qt5Network_LIBRARIES})