diff options
-rw-r--r-- | modules/FindLibXslt.cmake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/FindLibXslt.cmake b/modules/FindLibXslt.cmake index fcebd0c1..c605ce2a 100644 --- a/modules/FindLibXslt.cmake +++ b/modules/FindLibXslt.cmake @@ -5,6 +5,7 @@ # LIBXSLT_INCLUDE_DIR - the LibXslt include directory # LIBXSLT_LIBRARIES - Link these to LibXslt # LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt +# XSLTPROC_EXECUTABLE - path to the xsltproc tool # Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> # @@ -39,7 +40,9 @@ IF (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES) ELSE (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES) SET(LIBXSLT_FOUND FALSE) ENDIF (LIBXSLT_INCLUDE_DIR AND LIBXSLT_LIBRARIES) - + +FIND_PROGRAM(XSLTPROC_EXECUTABLE xsltproc) + IF (LIBXSLT_FOUND) IF (NOT LibXslt_FIND_QUIETLY) MESSAGE(STATUS "Found LibXslt: ${LIBXSLT_LIBRARIES}") @@ -50,5 +53,5 @@ ELSE (LIBXSLT_FOUND) ENDIF (LibXslt_FIND_REQUIRED) ENDIF (LIBXSLT_FOUND) -MARK_AS_ADVANCED(LIBXSLT_INCLUDE_DIR LIBXSLT_LIBRARIES) +MARK_AS_ADVANCED(LIBXSLT_INCLUDE_DIR LIBXSLT_LIBRARIES XSLTPROC_EXECUTABLE) |