blob: 442ba43f2ebba7afebcd9569b5cab5731bb0e7ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# - Try to find XSLT
# Once done this will define
#
# XSLT_FOUND - system has libxslt
# XSLT_INCLUDE_DIRS - the libxslt include directory
# XSLT_LIBRARIES - The libxslt libraries
if(PKG_CONFIG_FOUND)
pkg_check_modules (XSLT libxslt)
else()
find_path(XSLT_INCLUDE_DIRS libxslt/xslt.h)
find_library(XSLT_LIBRARIES NAMES xslt libxslt)
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Xslt DEFAULT_MSG XSLT_INCLUDE_DIRS XSLT_LIBRARIES)
mark_as_advanced(XSLT_INCLUDE_DIRS XSLT_LIBRARIES)
|