2022-07-07 05:30:42 +08:00
|
|
|
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()
|
|
|
|
|
2022-09-10 02:56:55 +08:00
|
|
|
if(LIBXSLT_WITH_CRYPTO AND NOT WIN32)
|
2022-07-07 05:30:42 +08:00
|
|
|
install(FILES FindGcrypt.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxslt-${PROJECT_VERSION} COMPONENT development)
|