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, 2 insertions, 2 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index eeed58c..3ab90a4 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -265,12 +265,12 @@ ENDIF(QT_MAX_VERSION)
IF(QT_VERSION_SMALL_ENOUGH AND QT_VERSION_BIG_ENOUGH)
# Call package for Qt3
IF( QT_INST_MAJOR_VERSION LESS 4)
- FIND_PACKAGE(FindQt4.cmake)
+ FIND_PACKAGE(Qt4.cmake)
ENDIF( QT_INST_MAJOR_VERSION LESS 4)
# Call package for Qt4
IF( QT_INST_MAJOR_VERSION GREATER 3 )
IF( QT_INST_MAJOR_VERSION LESS 5)
- FIND_PACKAGE(FindQt4.cmake)
+ FIND_PACKAGE(Qt4.cmake)
ELSE( QT_INST_MAJOR_VERSION LESS 5)
IF( NOT Qt_FIND_QUIETLY AND Qt_FIND_REQUIRED)
MESSAGE(SEND_ERROR "Right now CMake supports only Qt-Versions less than 5.0.0")