W3cubDocs

/CMake 3.19

FindLibXslt

Find the XSL Transformations, Extensible Stylesheet Language Transformations (XSLT) library (LibXslt)

IMPORTED Targets

The following IMPORTED targets may be defined:

LibXslt::LibXslt

If the libxslt library has been found

LibXslt::LibExslt

If the libexslt library has been found

LibXslt::xsltproc

If the xsltproc command-line executable has been found

Result variables

This module will set the following variables in your project:

LIBXSLT_FOUND - system has LibXslt LIBXSLT_INCLUDE_DIR - the LibXslt include directory LIBXSLT_LIBRARIES - Link these to LibXslt LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt LIBXSLT_VERSION_STRING - version of LibXslt found (since CMake 2.8.8)

Additionally, the following two variables are set (but not required for using xslt):

LIBXSLT_EXSLT_INCLUDE_DIR

The include directory for exslt.

LIBXSLT_EXSLT_LIBRARIES

Link to these if you need to link against the exslt library.

LIBXSLT_XSLTPROC_EXECUTABLE

Contains the full path to the xsltproc executable if found.

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/module/FindLibXslt.html