aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-10 15:13:14 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-10 15:13:14 -0700
commit1051ca97f52631b57889625626e2a5b48724487f (patch)
treeb90c6d511706a474770a1801cc8b23c0c6f429d4 /host/cmake
parent1686a7baeabc84541e123cbb21e699947109a2d2 (diff)
downloaduhd-1051ca97f52631b57889625626e2a5b48724487f.tar.gz
uhd-1051ca97f52631b57889625626e2a5b48724487f.tar.bz2
uhd-1051ca97f52631b57889625626e2a5b48724487f.zip
cmake: Conditionally set UHD_RFNOC_FOUND depending on ENABLE_RFNOC
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDConfig.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDConfig.cmake.in b/host/cmake/Modules/UHDConfig.cmake.in
index bbe947dc1..e0951a93e 100644
--- a/host/cmake/Modules/UHDConfig.cmake.in
+++ b/host/cmake/Modules/UHDConfig.cmake.in
@@ -36,7 +36,7 @@ set(ENV{UHD_CONFIG_USED} TRUE)
# set default values
SET(UHD_FOUND TRUE)
-SET(UHD_RFNOC_FOUND TRUE)
+SET(UHD_RFNOC_FOUND @UHD_RFNOC_FOUND@)
SET(UHD_INCLUDE_HINTS)
SET(UHD_LIBDIR_HINTS)
SET(UHD_DIR $ENV{UHD_DIR})