From 2790abe9edaf7263cd54df663b99ce66797048e0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Dec 2024 13:53:37 +0100 Subject: Build with C++17 on macOS. I switched the libdcp tests to run with the 2.18.x environment. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cscript') diff --git a/cscript b/cscript index 283c2be8..770965a0 100644 --- a/cscript +++ b/cscript @@ -36,7 +36,7 @@ import shutil def dependencies(target, options): deps = [ - ('libcxml', 'v0.17.11', options), + ('libcxml', 'v0.17.11', { 'c++17': target.platform.startswith('osx') }), ('openjpeg', 'ad8edaacd54a862940d0a77c41ecda5858b54d6e'), ('asdcplib', 'v1.0.4') ] @@ -64,7 +64,7 @@ def build(target, options): elif target.platform == 'windows': cmd += f' --target-windows-{target.bits}' - if 'c++17' in options and options['c++17']: + if ('c++17' in options and options['c++17']) or target.platform.startswith('osx'): cmd += ' --c++17' if target.debug: -- cgit v1.2.3