From 181c39d58ad4089c91f579c056ae1cdac91c08f8 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Wed, 19 Mar 2008 15:27:09 -0400 Subject: BUG: Don't clear output strings before using. --- Modules/FindQt4.cmake | 4 ++-- 1 file 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} ) -- cgit v0.12