From 4fbf7ee27ac52c57ee0f26bd3eba44ca867264b5 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 24 Jan 2012 04:48:45 +0000 Subject: [PATCH] Don't install Doxygen documentation if it was never built. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a683d84da..dae1737971 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,5 +131,6 @@ if (DOXYGEN_FOUND) install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/html DESTINATION share/doc/mlpack COMPONENT doc + OPTIONAL ) endif (DOXYGEN_FOUND)