diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-15 16:41:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-15 16:41:07 (GMT) |
commit | 8d418fb8983b6d805a41748790e43ccd00b2cb9a (patch) | |
tree | 58150a68246296e2c74d7ff68a54701cec3825bc /Modules/FindQt.cmake | |
parent | 7ea6617b07652416fd323a3d712e4f61a533fce4 (diff) | |
download | CMake-8d418fb8983b6d805a41748790e43ccd00b2cb9a.zip CMake-8d418fb8983b6d805a41748790e43ccd00b2cb9a.tar.gz CMake-8d418fb8983b6d805a41748790e43ccd00b2cb9a.tar.bz2 |
ENH: fix hard coded include from patch
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r-- | Modules/FindQt.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 3ab90a4..7bd5bfa 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(Qt4.cmake) + FIND_PACKAGE(Qt4) 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(Qt4.cmake) + FIND_PACKAGE(Qt4) 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") |