aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-14 15:45:13 -0800
committerJosh Blum <josh@joshknows.com>2010-12-14 15:45:13 -0800
commit768d32d91a6b207c577803e9d8baff884551f839 (patch)
tree3126de0b84d59fbd3f20252f84eee63b79133dfd /host/lib/CMakeLists.txt
parent1c06810258ae657ce373da2333f8fa98afb1981d (diff)
downloaduhd-768d32d91a6b207c577803e9d8baff884551f839.tar.gz
uhd-768d32d91a6b207c577803e9d8baff884551f839.tar.bz2
uhd-768d32d91a6b207c577803e9d8baff884551f839.zip
uhd: use the option function for the components
Diffstat (limited to 'host/lib/CMakeLists.txt')
-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})