summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-03-19 19:27:09 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-03-19 19:27:09 (GMT)
commit181c39d58ad4089c91f579c056ae1cdac91c08f8 (patch)
tree75b16e8a6aaa9e48a9299ce70d9d5ea99344b642 /Modules/FindQt4.cmake
parent01033b5d567c90d24a500bd5605f2a1924cd88a4 (diff)
downloadCMake-181c39d58ad4089c91f579c056ae1cdac91c08f8.zip
CMake-181c39d58ad4089c91f579c056ae1cdac91c08f8.tar.gz
CMake-181c39d58ad4089c91f579c056ae1cdac91c08f8.tar.bz2
BUG: Don't clear output strings before using.
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r--Modules/FindQt4.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 4552b1d..cf87735 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -1412,8 +1412,8 @@ IF (QT4_QMAKE_FOUND)
STRING(REPLACE "-L" "" _dbus_query_output "${_dbus_query_output}")
SEPARATE_ARGUMENTS(_dbus_query_output)
ELSE(_dbus_result MATCHES 0)
- SET(_dbus_query_output)
MESSAGE(WARNING " When querying pkg-config for dbus-1. An error was reported:\n${_dbus_query_output}")
+ SET(_dbus_query_output)
ENDIF(_dbus_result MATCHES 0)
FIND_LIBRARY(QT_DBUS_LIBRARY NAMES dbus-1 PATHS ${_dbus_query_output} )
@@ -1440,8 +1440,8 @@ IF (QT4_QMAKE_FOUND)
STRING(REPLACE "-L" "" _glib_query_output "${_glib_query_output}")
SEPARATE_ARGUMENTS(_glib_query_output)
ELSE(_glib_result MATCHES 0)
- SET(_glib_query_output)
MESSAGE(WARNING " When querying pkg-config for glib-2.0. An error was reported:\n${_glib_query_output}")
+ SET(_glib_query_output)
ENDIF(_glib_result MATCHES 0)
FIND_LIBRARY(QT_GLIB_LIBRARY NAMES glib-2.0 PATHS ${_glib_query_output} )