aboutsummaryrefslogtreecommitdiff
path: root/modules/FindLibXslt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindLibXslt.cmake')
-rw-r--r--modules/FindLibXslt.cmake8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/FindLibXslt.cmake b/modules/FindLibXslt.cmake
index 41443d07..f84f4c26 100644
--- a/modules/FindLibXslt.cmake
+++ b/modules/FindLibXslt.cmake
@@ -5,7 +5,7 @@
# LIBXSLT_INCLUDE_DIR - the LibXslt include directory
# LIBXSLT_LIBRARIES - Link these to LibXslt
# LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt
-# LIBXSLT_XSLTPROC_EXECUTABLE - path to the xsltproc tool
+# XSLTPROC_EXECUTABLE - path to the xsltproc tool
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
#
@@ -46,9 +46,7 @@ ELSE (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES)
SET(LIBXSLT_FOUND FALSE)
ENDIF (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES)
-FIND_PROGRAM(LIBXSLT_XSLTPROC_EXECUTABLE xsltproc)
-# For compatibility with FindLibXslt.cmake from KDE 4.[01].x
-SET(XSLTPROC_EXECUTABLE ${LIBXSLT_XSLTPROC_EXECUTABLE})
+FIND_PROGRAM(XSLTPROC_EXECUTABLE xsltproc)
IF (LIBXSLT_FOUND)
IF (NOT LibXslt_FIND_QUIETLY)
@@ -60,5 +58,5 @@ ELSE (LIBXSLT_FOUND)
ENDIF (LibXslt_FIND_REQUIRED)
ENDIF (LIBXSLT_FOUND)
-MARK_AS_ADVANCED(LIBXSLT_INCLUDE_DIR LIBXSLT_LIBRARIES LIBEXSLT_LIBRARIES LIBXSLT_XSLTPROC_EXECUTABLE)
+MARK_AS_ADVANCED(LIBXSLT_INCLUDE_DIR LIBXSLT_LIBRARIES LIBEXSLT_LIBRARIES XSLTPROC_EXECUTABLE)