summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-29 11:09:16 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-01 14:08:58 +0100
commit68533f20f9f2e0ca9efc9360f20d047a79e4fd8a (patch)
tree22ee64680ffb708f55d6fe4960f87efb0102c396 /wscript
parent23a542bd526038934e05a237d5434b9cd5beb855 (diff)
Add new, improved raw_convert using fmt/fast_float (DoM #2220).
The old one was broken if the thousands separator was the same as the decimal separator (e.g. if you set de_DE and change the decimal separator to .)
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index ba62d86d..1fcdd119 100644
--- a/wscript
+++ b/wscript
@@ -266,6 +266,9 @@ def configure(conf):
conf.check_cfg(package='libavcodec', args='--cflags --libs', uselib_store='AVCODEC', mandatory=True)
conf.check_cfg(package='libavutil', args='--cflags --libs', uselib_store='AVUTIL', mandatory=True)
+ conf.check_cfg(package='fmt', args='--cflags --libs', uselib_store='FMT', mandatory=True)
+ conf.check_cxx(header_name="fast_float/fast_float.h", uselib_store='FAST_FLOAT', mandatory=True)
+
if not conf.env.DISABLE_TESTS:
conf.recurse('test')
if conf.options.enable_gcov: