summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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})