mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 18:49:02 +08:00
18 lines
910 B
Diff
18 lines
910 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 6dc6501..d36a049 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -432,10 +434,12 @@ if(LIBXSLT_WITH_PYTHON)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libxslt.py DESTINATION ${LIBXSLT_PYTHON_INSTALL_DIR} COMPONENT runtime)
|
|
endif()
|
|
|
|
+if(VCPKG_INSTALL_DOCS)
|
|
install(FILES libexslt/libexslt.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3 COMPONENT documentation)
|
|
install(FILES libxslt/libxslt.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3 COMPONENT documentation)
|
|
install(FILES doc/xsltproc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
|
|
install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/libxslt COMPONENT documentation PATTERN Makefile.* EXCLUDE)
|
|
+endif()
|
|
|
|
if(LIBXSLT_WITH_CRYPTO AND NOT WIN32)
|
|
install(FILES FindGcrypt.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxslt-${PROJECT_VERSION} COMPONENT development)
|