summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2015-01-16 19:59:12 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2015-01-16 21:06:21 (GMT)
commit6af8cbf214c7de6ef4bb036cb9f6c4bc147fd511 (patch)
tree8c142ccf8f9710ae2f865e0e1d9d8ee435c79f5e /Modules/FindQt.cmake
parent49d05a4713729d7531192ae16fc94511dac9b8ec (diff)
downloadCMake-6af8cbf214c7de6ef4bb036cb9f6c4bc147fd511.zip
CMake-6af8cbf214c7de6ef4bb036cb9f6c4bc147fd511.tar.gz
CMake-6af8cbf214c7de6ef4bb036cb9f6c4bc147fd511.tar.bz2
FindQt: fix variable name in error message
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 19f1773..8014768 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -183,9 +183,9 @@ else()
endif()
if(NOT QT_FOUND AND DESIRED_QT_VERSION)
if(QT_REQUIRED)
- 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.")
+ 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_H_FILE, if those are set then QT_QT_LIBRARY or QT_LIBRARY_DIR.")
else()
- 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.")
+ message( "CMake was unable to find desired Qt version: ${DESIRED_QT_VERSION}. Set advanced values QT_QMAKE_EXECUTABLE and QT${DESIRED_QT_VERSION}_QGLOBAL_H_FILE.")
endif()
endif()
endif()