From 768d32d91a6b207c577803e9d8baff884551f839 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 14 Dec 2010 15:45:13 -0800 Subject: uhd: use the option function for the components --- host/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index 3a6860b93..a198b476a 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -70,7 +70,7 @@ MACRO(LIBUHD_REGISTER_COMPONENT name var auto) SET(${var} ${auto}) MESSAGE(STATUS "${name} support configured automatically") ENDIF(DEFINED ${var}) - SET(${var} ${${var}} CACHE BOOL "enable ${name} support") + OPTION(${var} "enable ${name} support" ${${var}}) IF(${var}) MESSAGE(STATUS " Enabling ${name} support.") LIST(APPEND _libuhd_enabled_components ${name}) -- cgit v1.2.3