Skip to content

Commit 0313968

Browse files
build: make UHD a required default dependency
by default cmake will fail if UHD is not found. The advanced user can disable this though with: cmake -DENABLE_UHD=False ..
1 parent a90739d commit 0313968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ option(ENABLE_TSAN "Enable clang thread sanitizer" OFF)
5858
option(ENABLE_ASAN "Enable clang address sanitizer" OFF)
5959
option(ENABLE_GCOV "Enable code coverage" OFF)
6060
option(ENABLE_UHD "Enable UHD" ON)
61-
option(ENABLE_ZEROMQ "Enable ZeroMQ" ON)
61+
option(ENABLE_ZEROMQ "Enable ZeroMQ" OFF)
6262
option(ENABLE_FFTW "Enable FFTW" ON)
6363
option(ENABLE_EXPORT "Enable PIC and export libraries" OFF)
6464
option(AUTO_DETECT_ISA "Enable automatic ISA detection" ON)
@@ -188,7 +188,7 @@ find_package(Threads REQUIRED)
188188

189189
# UHD
190190
if (ENABLE_UHD)
191-
find_package(UHD)
191+
find_package(UHD REQUIRED)
192192
if (UHD_FOUND)
193193
include_directories(${UHD_INCLUDE_DIRS})
194194
link_directories(${UHD_LIBRARY_DIRS})

0 commit comments

Comments
 (0)