Don't install Doxygen documentation if it was never built.

This commit is contained in:
Ryan Curtin
2012-01-24 04:48:45 +00:00
parent b262349662
commit 4fbf7ee27a
+1
View File
@@ -131,5 +131,6 @@ if (DOXYGEN_FOUND)
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/html
DESTINATION share/doc/mlpack
COMPONENT doc
OPTIONAL
)
endif (DOXYGEN_FOUND)