summaryrefslogtreecommitdiff
path: root/Modules/FindLibXml2.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-01-23 19:03:54 +0100
committerRolf Eike Beer <eike@sf-mail.de>2012-01-23 20:03:49 +0100
commitede3ec5a799768482a7bc37ac44da99817b62316 (patch)
tree21e44d03c39aa11f1f2090e6c48ab0b62075bea4 /Modules/FindLibXml2.cmake
parent86c9604f98b2271401cf7a53c251be51af15278c (diff)
downloadcmake-ede3ec5a799768482a7bc37ac44da99817b62316.tar.gz
use pkg_check_modules() quiet in other modules
Those modules will already print what they found or not using FPHSA, no need to do this twice.
Diffstat (limited to 'Modules/FindLibXml2.cmake')
-rw-r--r--Modules/FindLibXml2.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake
index 95ae180417..396d810a9d 100644
--- a/Modules/FindLibXml2.cmake
+++ b/Modules/FindLibXml2.cmake
@@ -23,8 +23,8 @@
# 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 QUIET)
+FIND_PACKAGE(PkgConfig QUIET)
+PKG_CHECK_MODULES(PC_LIBXML QUIET libxml-2.0)
SET(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER})
FIND_PATH(LIBXML2_INCLUDE_DIR NAMES libxml/xpath.h