mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 17:57:49 +08:00
13 lines
394 B
Plaintext
13 lines
394 B
Plaintext
|
The package libxslt is compatible with built-in CMake targets:
|
||
|
|
||
|
# xslt library
|
||
|
find_package(LibXslt REQUIRED)
|
||
|
target_link_libraries(main PRIVATE LibXslt::LibXslt)
|
||
|
|
||
|
# exslt library
|
||
|
find_package(LibXslt REQUIRED)
|
||
|
target_link_libraries(main PRIVATE LibXslt::LibExslt)
|
||
|
|
||
|
In order to use modules, you must set environment variable LIBXSLT_PLUGINS_PATH
|
||
|
at runtime.
|