1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Only generate Doxyfile if generating docs.

Fixes #307.
This commit is contained in:
Camilla Berglund 2014-06-11 23:07:13 +02:00
parent cb9d194f86
commit 2f30d3e5a3

View File

@ -430,8 +430,10 @@ endif()
#--------------------------------------------------------------------
# Create generated files
#--------------------------------------------------------------------
configure_file(${GLFW_SOURCE_DIR}/docs/Doxyfile.in
if (GLFW_BUILD_DOCS)
configure_file(${GLFW_SOURCE_DIR}/docs/Doxyfile.in
${GLFW_BINARY_DIR}/docs/Doxyfile @ONLY)
endif()
configure_file(${GLFW_SOURCE_DIR}/src/glfw_config.h.in
${GLFW_BINARY_DIR}/src/glfw_config.h @ONLY)