diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-11-18 21:58:50 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-11-18 21:58:50 +0000 |
commit | 877046103ca395ba7b2d842fd00404869e54bef0 (patch) | |
tree | 665aea0b7a5be715ff17932e65d219abd6e8035f /modules/FindLibXml2.cmake | |
parent | fc5cadc93a7d0191e6653fcf5bc502b7c1d22f6d (diff) | |
download | extra-cmake-modules-877046103ca395ba7b2d842fd00404869e54bef0.tar.gz extra-cmake-modules-877046103ca395ba7b2d842fd00404869e54bef0.tar.bz2 |
-use the prefix PC_ for the variables coming from pkgconfig
(these three modules were working correctly, this is just to establish a convention how to deal with this)
Alex
svn path=/trunk/KDE/kdelibs/; revision=886256
Diffstat (limited to 'modules/FindLibXml2.cmake')
-rw-r--r-- | modules/FindLibXml2.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/FindLibXml2.cmake b/modules/FindLibXml2.cmake index 8615e77b..1849e099 100644 --- a/modules/FindLibXml2.cmake +++ b/modules/FindLibXml2.cmake @@ -22,19 +22,19 @@ IF (NOT WIN32) # 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(LIBXML libxml-2.0) - SET(LIBXML2_DEFINITIONS ${LIBXML_CFLAGS}) + pkg_check_modules(PC_LIBXML libxml-2.0) + SET(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS}) ENDIF (NOT WIN32) FIND_PATH(LIBXML2_INCLUDE_DIR libxml/xpath.h PATHS - ${LIBXML_INCLUDE_DIRS} + ${PC_LIBXML_INCLUDE_DIRS} PATH_SUFFIXES libxml2 ) FIND_LIBRARY(LIBXML2_LIBRARIES NAMES xml2 libxml2 PATHS - ${LIBXML_LIBRARY_DIRS} + ${PC_LIBXML_LIBRARY_DIRS} ) IF (LIBXML2_INCLUDE_DIR AND LIBXML2_LIBRARIES) |