diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2015-08-11 10:51:23 -0700 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2015-08-11 10:51:23 -0700 |
commit | 0dbaf46b5cac9179312c0e9c00e9cc1462322d66 (patch) | |
tree | 4ce140ad87238bc87c84169fd70d1a56953a4f09 /host/docs/CMakeLists.txt | |
parent | 28327c8e8a810b19da126116d0dc4c26b643baed (diff) | |
download | uhd-0dbaf46b5cac9179312c0e9c00e9cc1462322d66.tar.gz uhd-0dbaf46b5cac9179312c0e9c00e9cc1462322d66.tar.bz2 uhd-0dbaf46b5cac9179312c0e9c00e9cc1462322d66.zip |
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
Diffstat (limited to 'host/docs/CMakeLists.txt')
-rw-r--r-- | host/docs/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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 |