This commit is contained in:
Andrew Wilson 2024-02-04 14:38:05 +03:00 committed by GitHub
commit 44bb27a83d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,6 +156,10 @@ if (GLFW_INSTALL)
install(FILES "${GLFW_BINARY_DIR}/src/glfw3.pc"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
export(EXPORT glfwTargets
FILE ${CMAKE_CURRENT_BINARY_DIR}/src/glfw3Targets.cmake
NAMESPACE "glfw3::")
if (DOXYGEN_FOUND AND GLFW_BUILD_DOCS)
install(DIRECTORY "${GLFW_BINARY_DIR}/docs/html"
DESTINATION "${CMAKE_INSTALL_DOCDIR}")