diff options
Diffstat (limited to 'host/cmake')
-rw-r--r-- | host/cmake/Modules/UHDBoost.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDBoost.cmake b/host/cmake/Modules/UHDBoost.cmake index eed94cbfe..51aa1e238 100644 --- a/host/cmake/Modules/UHDBoost.cmake +++ b/host/cmake/Modules/UHDBoost.cmake @@ -65,7 +65,7 @@ unset(Boost_LIBRARIES) # check whether to set REQUIRED or not # if not set, default is to require Boost -if(NOT UHD_BOOST_REQUIRED) +if(NOT DEFINED UHD_BOOST_REQUIRED) # UHD_BOOST_REQUIRED is not set; use the default set(UHD_BOOST_REQUIRED "REQUIRED") elseif(UHD_BOOST_REQUIRED) |