diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-29 13:53:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-29 18:13:59 +0100 |
| commit | 2790abe9edaf7263cd54df663b99ce66797048e0 (patch) | |
| tree | e0f1cc615522234a3e45f8d9d67c363dc1783bc8 /cscript | |
| parent | 307bb4c4fc5269c1ef10ca15792653fa4149e407 (diff) | |
Build with C++17 on macOS.
I switched the libdcp tests to run with the 2.18.x environment.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |
