summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r--Modules/FindQt.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index 4bc8fff..2bcad8b 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -115,9 +115,13 @@ ELSE(QT3_INSTALLED AND QT4_INSTALLED )
ENDIF(QT3_INSTALLED AND QT4_INSTALLED )
IF(DESIRED_QT_VERSION MATCHES 3)
+ SET(Qt3_FIND_REQUIRED ${Qt_FIND_REQUIRED})
+ SET(Qt3_FIND_QUIETLY ${Qt_FIND_QUIETLY})
INCLUDE(FindQt3)
ENDIF(DESIRED_QT_VERSION MATCHES 3)
IF(DESIRED_QT_VERSION MATCHES 4)
+ SET(Qt4_FIND_REQUIRED ${Qt_FIND_REQUIRED})
+ SET(Qt4_FIND_QUIETLY ${Qt_FIND_QUIETLY})
INCLUDE(FindQt4)
ENDIF(DESIRED_QT_VERSION MATCHES 4)