aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2021-06-28 09:43:24 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-28 13:44:25 -0500
commit78e24a4b3b39f03437dca9e818494ef2eba90a39 (patch)
tree2acacf3e508734fd1d8068e453ee3a88ebc7c7a1 /host/examples
parentccb9f60fe5831048fc9bdb04069691d5d02015a1 (diff)
downloaduhd-78e24a4b3b39f03437dca9e818494ef2eba90a39.tar.gz
uhd-78e24a4b3b39f03437dca9e818494ef2eba90a39.tar.bz2
uhd-78e24a4b3b39f03437dca9e818494ef2eba90a39.zip
examples: Update example CMakeLists.txt for minimum version bumps
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/init_usrp/CMakeLists.txt4
-rw-r--r--host/examples/rfnoc-example/apps/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/host/examples/init_usrp/CMakeLists.txt b/host/examples/init_usrp/CMakeLists.txt
index 0a81d2d48..80cdf3a9c 100644
--- a/host/examples/init_usrp/CMakeLists.txt
+++ b/host/examples/init_usrp/CMakeLists.txt
@@ -23,7 +23,7 @@ endif()
option(UHD_USE_STATIC_LIBS OFF)
# To add UHD as a dependency to this project, add a line such as this:
-find_package(UHD 4.0.0 REQUIRED)
+find_package(UHD 4.1.0 REQUIRED)
# The version in ^^^^^ here is a minimum version.
# To specify an exact version:
#find_package(UHD 4.0.0 EXACT REQUIRED)
@@ -35,7 +35,7 @@ set(UHD_BOOST_REQUIRED_COMPONENTS
system
thread
)
-set(BOOST_MIN_VERSION 1.58)
+set(BOOST_MIN_VERSION 1.65)
include(UHDBoost)
# need these include and link directories for the build
diff --git a/host/examples/rfnoc-example/apps/CMakeLists.txt b/host/examples/rfnoc-example/apps/CMakeLists.txt
index 55b59bcfc..bca9336ce 100644
--- a/host/examples/rfnoc-example/apps/CMakeLists.txt
+++ b/host/examples/rfnoc-example/apps/CMakeLists.txt
@@ -17,7 +17,7 @@ if(MSVC)
set(BOOST_REQUIRED_COMPONENTS) #empty components list for static link
endif(BOOST_ALL_DYN_LINK)
endif(MSVC)
-find_package(Boost 1.58 REQUIRED ${BOOST_REQUIRED_COMPONENTS})
+find_package(Boost 1.65 REQUIRED ${BOOST_REQUIRED_COMPONENTS})
include_directories(
${CMAKE_SOURCE_DIR}/include