From 877046103ca395ba7b2d842fd00404869e54bef0 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 18 Nov 2008 21:58:50 +0000 Subject: -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 --- modules/FindLibXslt.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/FindLibXslt.cmake') 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) -- cgit v1.2.1