diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-02 21:37:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-03-02 21:37:35 +0100 |
| commit | d7e986dfe6a8127a6e060448e05f56f0655fe9c5 (patch) | |
| tree | a4756fbb38889a50b906395a18a87e3f7757b5be | |
| parent | 593dd38514f6ba777c1eef1b065ca7e51e405c7b (diff) | |
Allow use of libfmt.
| -rw-r--r-- | src/wscript | 2 | ||||
| -rw-r--r-- | wscript | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/wscript b/src/wscript index 563b331..8ae7788 100644 --- a/src/wscript +++ b/src/wscript @@ -8,7 +8,7 @@ def build(bld): obj.name = 'libsub%s' % bld.env.API_VERSION obj.target = 'sub%s' % bld.env.API_VERSION - obj.uselib = 'CXML BOOST_FILESYSTEM BOOST_LOCALE BOOST_REGEX' + obj.uselib = 'CXML BOOST_FILESYSTEM BOOST_LOCALE BOOST_REGEX FMT' obj.export_includes = ['.'] obj.source = """ colour.cc @@ -175,6 +175,8 @@ def configure(conf): lib=boost_libs('regex'), uselib_store='BOOST_REGEX') + conf.check_cfg(package='fmt', args='--cflags --libs', uselib_store='FMT', mandatory=True) + if not conf.env.DISABLE_TESTS: conf.recurse('test') |
