From d7e986dfe6a8127a6e060448e05f56f0655fe9c5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 2 Mar 2026 21:37:35 +0100 Subject: Allow use of libfmt. --- src/wscript | 2 +- wscript | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 diff --git a/wscript b/wscript index c77ff30..c1a2b71 100644 --- a/wscript +++ b/wscript @@ -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') -- cgit v1.2.3