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/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/CMakeLists.txt') diff --git a/host/lib/usrp/CMakeLists.txt b/host/lib/usrp/CMakeLists.txt index e01e5e09d..5c9592970 100644 --- a/host/lib/usrp/CMakeLists.txt +++ b/host/lib/usrp/CMakeLists.txt @@ -43,7 +43,7 @@ IF(ENABLE_C_API) ) ENDIF(ENABLE_C_API) -LIBUHD_REGISTER_COMPONENT("GPSD" ENABLE_GPSD OFF "ENABLE_LIBUHD;ENABLE_GPSD;LIBGPS_FOUND" OFF) +LIBUHD_REGISTER_COMPONENT("GPSD" ENABLE_GPSD OFF "ENABLE_LIBUHD;ENABLE_GPSD;LIBGPS_FOUND" OFF OFF) IF(ENABLE_GPSD) LIBUHD_APPEND_SOURCES( -- cgit v1.2.3