build: do not install doc if not required

This commit is contained in:
Michele Caini
2025-03-10 09:29:04 +01:00
parent 8daacc339f
commit d0711fd7da
+2
View File
@@ -51,8 +51,10 @@ if(DOXYGEN_FOUND)
doxy.in
)
if(ENTT_INSTALL)
install(
DIRECTORY ${DOXY_OUTPUT_DIRECTORY}/html
DESTINATION share/${PROJECT_NAME}-${PROJECT_VERSION}/
)
endif()
endif()