summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-25 17:16:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-25 17:16:49 (GMT)
commitb442e864924935656b589369ec35ab0e66e30216 (patch)
tree794d6dfd9b77307b406389c22918eceb93f6e540 /Modules/FindQt4.cmake
parentaa98e3647dff8cfc66f5ef4f93e044543c93b02a (diff)
downloadCMake-b442e864924935656b589369ec35ab0e66e30216.zip
CMake-b442e864924935656b589369ec35ab0e66e30216.tar.gz
CMake-b442e864924935656b589369ec35ab0e66e30216.tar.bz2
ENH: change to fatal error
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r--Modules/FindQt4.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 9145d6b..ed6438e 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -210,7 +210,7 @@ IF(QT4_QMAKE_FOUND)
ENDIF( QT_QT_INCLUDE_DIR AND NOT QT_INCLUDE_DIR)
IF( NOT QT_INCLUDE_DIR)
IF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
- MESSAGE( SEND_ERROR "Could not find qglobal.h")
+ MESSAGE( FATAL_ERROR "Could not find qglobal.h")
ENDIF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
ENDIF( NOT QT_INCLUDE_DIR)
@@ -700,7 +700,7 @@ IF(QT4_QMAKE_FOUND)
ELSE( QT_LIBRARY_DIR AND QT_INCLUDE_DIR AND QT_MOC_EXECUTABLE AND QT_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE)
SET( QT4_FOUND "NO")
IF( Qt4_FIND_REQUIRED)
- MESSAGE( SEND_ERROR "Qt libraries, includes, moc, uic or/and rcc NOT found!")
+ MESSAGE( FATAL_ERROR "Qt libraries, includes, moc, uic or/and rcc NOT found!")
ENDIF( Qt4_FIND_REQUIRED)
ENDIF( QT_LIBRARY_DIR AND QT_INCLUDE_DIR AND QT_MOC_EXECUTABLE AND QT_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE)
SET(QT_FOUND ${QT4_FOUND})
@@ -733,7 +733,7 @@ ELSE(QT4_QMAKE_FOUND)
MESSAGE("QT_QMAKE_EXECUTABLE set to qmake version: QTVERSION = ${QTVERSION}\nQT_QMAKE_EXECUTABLE = ${QT_QMAKE_EXECUTABLE}, please set to path to qmake from qt4.")
ENDIF(QT_QMAKE_EXECUTABLE)
IF( Qt4_FIND_REQUIRED)
- MESSAGE( SEND_ERROR "Qt qmake not found!")
+ MESSAGE( FATAL_ERROR "Qt qmake not found!")
ENDIF( Qt4_FIND_REQUIRED)
ENDIF(QT4_QMAKE_FOUND)