mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 21:30:57 +00:00
Fix docs install condition
This commit is contained in:
parent
aa5e313561
commit
8d64683b32
@ -351,7 +351,7 @@ if (GLFW_INSTALL)
|
||||
install(FILES "${GLFW_BINARY_DIR}/src/glfw3.pc"
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
|
||||
if (GLFW_BUILD_DOCS)
|
||||
if (DOXYGEN_FOUND AND GLFW_BUILD_DOCS)
|
||||
install(DIRECTORY "${GLFW_BINARY_DIR}/docs/html"
|
||||
DESTINATION "${CMAKE_INSTALL_DOCDIR}")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user