Add QT_MIN_VERSION to the find_package call for Qt4
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 1 Apr 2012 22:48:35 +0000 (00:48 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 1 Apr 2012 22:48:35 +0000 (00:48 +0200)
CMakeLists.txt

index 3170180..f377a18 100644 (file)
@@ -199,7 +199,7 @@ else(WITH_QT5)
   endif(QT)
 
   # Now that we have the correct $PATH, lets find Qt!
-  find_package(Qt4 REQUIRED)
+  find_package(Qt4 ${QT_MIN_VERSION} REQUIRED)
 endif(WITH_QT5)