From 0dbaf46b5cac9179312c0e9c00e9cc1462322d66 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Tue, 11 Aug 2015 10:51:23 -0700 Subject: cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, set LibUHD to required * If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it --- host/docs/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/docs') diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt index 063bfd901..3090d3f80 100644 --- a/host/docs/CMakeLists.txt +++ b/host/docs/CMakeLists.txt @@ -28,7 +28,7 @@ SET(ENABLE_MANUAL_OR_DOXYGEN false) ######################################################################## # Setup Manual (using Doxygen) ######################################################################## -LIBUHD_REGISTER_COMPONENT("Manual" ENABLE_MANUAL ON "DOXYGEN_FOUND" OFF) +LIBUHD_REGISTER_COMPONENT("Manual" ENABLE_MANUAL ON "DOXYGEN_FOUND" OFF OFF) # Check if fpga submodule is there. If yes: # - Add fpga-src/docs and fpga-src/README.md to inputs @@ -64,7 +64,7 @@ ENDIF(ENABLE_MANUAL) # Setup API documentation (using Doxygen) ######################################################################## MESSAGE(STATUS "") -LIBUHD_REGISTER_COMPONENT("API/Doxygen" ENABLE_DOXYGEN ON "DOXYGEN_FOUND" OFF) +LIBUHD_REGISTER_COMPONENT("API/Doxygen" ENABLE_DOXYGEN ON "DOXYGEN_FOUND" OFF OFF) OPTION(ENABLE_DOXYGEN_FULL "Use Doxygen to document the entire source tree (not just API)" OFF) IF(LIBUHDDEV_PKG) @@ -141,7 +141,7 @@ IF(NOT WIN32) SET(NOT_WIN32 TRUE) ENDIF(NOT WIN32) -LIBUHD_REGISTER_COMPONENT("Man Pages" ENABLE_MAN_PAGES ON "GZIP_FOUND;NOT_WIN32" OFF) +LIBUHD_REGISTER_COMPONENT("Man Pages" ENABLE_MAN_PAGES ON "GZIP_FOUND;NOT_WIN32" OFF OFF) IF(ENABLE_MAN_PAGES) #Generate man pages -- cgit v1.2.3