diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 986e730059..a0e144613f 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -324,6 +324,7 @@ set(UHD_BOOST_REQUIRED_COMPONENTS include(UHDBoost) +# Include boost headers as system headers to avoid compiler warnings from them. include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) link_directories(${Boost_LIBRARY_DIRS})