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/FindLibXslt.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/FindLibXslt.cmake')
-rw-r--r-- | modules/FindLibXslt.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/FindLibXslt.cmake b/modules/FindLibXslt.cmake index 76e8f77a..ff0110c7 100644 --- a/modules/FindLibXslt.cmake +++ b/modules/FindLibXslt.cmake @@ -22,22 +22,22 @@ 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(XSLT libxslt) - SET(LIBXSLT_DEFINITIONS ${XSLT_CFLAGS}) + pkg_check_modules(PC_XSLT libxslt) + SET(LIBXSLT_DEFINITIONS ${PC_XSLT_CFLAGS}) ENDIF (NOT WIN32) FIND_PATH(LIBXSLT_INCLUDE_DIR libxslt/xslt.h - ${XSLT_INCLUDE_DIRS} + ${PC_XSLT_INCLUDE_DIRS} ) FIND_LIBRARY(LIBXSLT_LIBRARIES NAMES xslt libxslt PATHS - ${XSLT_LIBRARY_DIRS} + ${PC_XSLT_LIBRARY_DIRS} ) FIND_LIBRARY(LIBEXSLT_LIBRARIES NAMES exslt libexslt PATHS - ${XSLT_LIBRARY_DIRS} + ${PC_XSLT_LIBRARY_DIRS} ) IF (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES) |