diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-12 13:36:50 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-12 13:36:50 (GMT) |
commit | 71873903fc6e29ee3d3ad54b1a9068a4f0df0c24 (patch) | |
tree | f0f0f0500272283ff8621cbe056558899469533d /Modules/FindQt.cmake | |
parent | 34170ed52e351b4e5daf8334d2ba1abe0dd2f7f9 (diff) | |
download | CMake-71873903fc6e29ee3d3ad54b1a9068a4f0df0c24.zip CMake-71873903fc6e29ee3d3ad54b1a9068a4f0df0c24.tar.gz CMake-71873903fc6e29ee3d3ad54b1a9068a4f0df0c24.tar.bz2 |
ENH: add some messages not errors for findqt
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r-- | Modules/FindQt.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 0e3e874..51564ca 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -123,11 +123,15 @@ ELSE(NOT QT3_INSTALLED AND NOT QT4_INSTALLED) IF(NOT QT_FOUND AND NOT DESIRED_QT_VERSION) IF(QT_REQUIRED) MESSAGE(SEND_ERROR "Multiple versions of QT found please set DESIRED_QT_VERSION") + ELSE(QT_REQUIRED) + MESSAGE("Multiple versions of QT found please set DESIRED_QT_VERSION") ENDIF(QT_REQUIRED) ENDIF(NOT QT_FOUND AND NOT DESIRED_QT_VERSION) IF(NOT QT_FOUND AND DESIRED_QT_VERSION) IF(QT_REQUIRED) MESSAGE(SEND_ERROR "CMake was unable to find QT version: ${DESIRED_QT_VERSION}. Set advanced values QT_QMAKE_EXECUTABLE and QT${DESIRED_QT_VERSION}_QGLOBAL_FILE.") + ELSE(QT_REQUIRED) + MESSAGE( "CMake was unable to find desired QT version: ${DESIRED_QT_VERSION}. Set advanced values QT_QMAKE_EXECUTABLE and QT${DESIRED_QT_VERSION}_QGLOBAL_FILE.") ENDIF(QT_REQUIRED) ENDIF(NOT QT_FOUND AND DESIRED_QT_VERSION) ENDIF(NOT QT3_INSTALLED AND NOT QT4_INSTALLED) |