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/lib/usrp/x300/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/x300') diff --git a/host/lib/usrp/x300/CMakeLists.txt b/host/lib/usrp/x300/CMakeLists.txt index 9a8601452..3d6348eec 100644 --- a/host/lib/usrp/x300/CMakeLists.txt +++ b/host/lib/usrp/x300/CMakeLists.txt @@ -22,7 +22,7 @@ ######################################################################## # Conditionally configure the X300 support ######################################################################## -LIBUHD_REGISTER_COMPONENT("X300" ENABLE_X300 ON "ENABLE_LIBUHD" OFF) +LIBUHD_REGISTER_COMPONENT("X300" ENABLE_X300 ON "ENABLE_LIBUHD" OFF OFF) IF(ENABLE_X300) LIBUHD_APPEND_SOURCES( -- cgit v1.2.3