Skip to content

Commit

Permalink
build: explicitly require boost >= 1.71.0
Browse files Browse the repository at this point in the history
Change-Id: Icd946b6d98a88b092c1dcfe952db8daa1ea45a28
  • Loading branch information
Pesa committed Sep 22, 2023
1 parent 1ba30e7 commit f530be1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ def configure(conf):
uselib_store='NDN_CXX', pkg_config_path=pkg_config_path)

conf.check_boost()
if conf.env.BOOST_VERSION_NUMBER < 107100:
conf.fatal('The minimum supported version of Boost is 1.71.0.\n'
'Please upgrade your distribution or manually install a newer version of Boost.\n'
'For more information, see https://redmine.named-data.net/projects/nfd/wiki/Boost')

if conf.env.WITH_TESTS:
conf.check_boost(lib='unit_test_framework', mt=True, uselib_store='BOOST_TESTS')
Expand Down

0 comments on commit f530be1

Please sign in to comment.