summaryrefslogtreecommitdiffstats
path: root/Modules
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
parentaa98e3647dff8cfc66f5ef4f93e044543c93b02a (diff)
downloadCMake-b442e864924935656b589369ec35ab0e66e30216.zip
CMake-b442e864924935656b589369ec35ab0e66e30216.tar.gz
CMake-b442e864924935656b589369ec35ab0e66e30216.tar.bz2
ENH: change to fatal error
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt.cmake2
-rw-r--r--Modules/FindQt4.cmake6
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index 2bcad8b..63b6de9 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -139,7 +139,7 @@ ELSE(NOT QT3_INSTALLED AND NOT QT4_INSTALLED)
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, if those are set then QT_QT_LIBRARY or QT_LIBRARY_DIR.")
+ MESSAGE(FATAL_ERROR "CMake was unable to find QT version: ${DESIRED_QT_VERSION}. Set advanced values QT_QMAKE_EXECUTABLE and QT${DESIRED_QT_VERSION}_QGLOBAL_FILE, if those are set then QT_QT_LIBRARY or QT_LIBRARY_DIR.")
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)
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)