summaryrefslogtreecommitdiffstats
path: root/Modules/FindLibXml2.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-05-08 08:36:42 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-05-08 08:36:42 (GMT)
commitaf3a288e55c2dd9a581b921a9a9f9caf6500e4da (patch)
treed8f64ad230d5f7f381f2185e22f05916acb4c622 /Modules/FindLibXml2.cmake
parentd62c51ddc2f706b6c653e6df51f5a336cbb45352 (diff)
downloadCMake-af3a288e55c2dd9a581b921a9a9f9caf6500e4da.zip
CMake-af3a288e55c2dd9a581b921a9a9f9caf6500e4da.tar.gz
CMake-af3a288e55c2dd9a581b921a9a9f9caf6500e4da.tar.bz2
-add QUIET keyword to pkgconfig macros
Synced from KDE svn: pkg_check_modules() and pkg_search_module() now both support a QUIET keyword. When given, no messages will be printed (except the REQUIRED ones) This also fixes #10469 (confusing output of FindLibXml2.cmake) Alex
Diffstat (limited to 'Modules/FindLibXml2.cmake')
-rw-r--r--Modules/FindLibXml2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake
index e18dc2e..67db321 100644
--- a/Modules/FindLibXml2.cmake
+++ b/Modules/FindLibXml2.cmake
@@ -24,7 +24,7 @@
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
FIND_PACKAGE(PkgConfig)
-PKG_CHECK_MODULES(PC_LIBXML libxml-2.0)
+PKG_CHECK_MODULES(PC_LIBXML libxml-2.0 QUIET)
SET(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER})
FIND_PATH(LIBXML2_INCLUDE_DIR NAMES libxml/xpath.h