diff --git a/host/libraries/libbladeRF/CMakeLists.txt b/host/libraries/libbladeRF/CMakeLists.txt index 7ee584de..17673ccf 100644 --- a/host/libraries/libbladeRF/CMakeLists.txt +++ b/host/libraries/libbladeRF/CMakeLists.txt @@ -369,6 +369,6 @@ if(BUILD_LIBBLADERF_DOCUMENTATION) add_custom_target(libbladeRF-doxygen ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/doc/doxygen/html/index.html) else(DOXYGEN_FOUND) - message(WARNING "Could not find Doxygen. libbladeRF API documentation will not be built.") + message(FATAL_ERROR "Could not find Doxygen. Unable to build libbladeRF API documentation.") endif(DOXYGEN_FOUND) endif(BUILD_LIBBLADERF_DOCUMENTATION) diff --git a/host/libraries/libbladeRF/README.md b/host/libraries/libbladeRF/README.md index fbd96c96..fbd59fe6 100644 --- a/host/libraries/libbladeRF/README.md +++ b/host/libraries/libbladeRF/README.md @@ -15,7 +15,7 @@ Functionality provided by this library includes: For more information, please generate and view the doxygen documentation. From your host/build directory, run: ``` -cmake -DBUILD_DOCUMENTATION=Yes BUILD_LIBBLADERF_DOCUMENTATION=ON ../ +cmake -DBUILD_DOCUMENTATION=ON ../ make libbladeRF-doxygen ``` The HTML documentation will be placed in **\/libraries/libbladerf/doc/doxygen/html**. The **index.html** file is the "main" documentation page. diff --git a/host/utilities/bladeRF-cli/CMakeLists.txt b/host/utilities/bladeRF-cli/CMakeLists.txt index be4e2880..4be4c734 100644 --- a/host/utilities/bladeRF-cli/CMakeLists.txt +++ b/host/utilities/bladeRF-cli/CMakeLists.txt @@ -78,6 +78,10 @@ endif() if(ENABLE_LIBTECLA) + if((NOT LIBTECLA_INCLUDE_DIR) OR (NOT LIBTECLA_LIBRARIES)) + message(FATAL_ERROR "ENABLE_LIBTECLA was forced ON, but libtecla cannot be found!") + endif() + message(STATUS "libtecla support enabled") endif() @@ -259,7 +263,7 @@ if(BUILD_BLADERF_CLI_DOCUMENTATION) add_custom_target(bladeRF-cli-manpage ALL DEPENDS bladeRF-cli.1) else(HELP2MAN_EXECUTABLE) - message(WARNING "Could not find help2man. bladeRF-cli man page will not be built.") + message(FATAL_ERROR "Could not find help2man. bladeRF-cli man page cannot be built.") endif(HELP2MAN_EXECUTABLE) else(BUILD_BLADERF_CLI_DOCUMENTATION) message(STATUS "Not building man page for bladeRF-cli. (BUILD_BLADERF_CLI_DOCUMENTATION is OFF)")