diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 16:40:46 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-06 16:40:46 +0200 |
| commit | 25a3f531ce022776bb3f94dc90de7f67ada90460 (patch) | |
| tree | ca5465601f40f9945b7f8b67fbf8fa43dea81ffe | |
| parent | a1f7bf2d9e5610075fbd898cdf52f4f8373741f2 (diff) | |
Use c++11 on Windows too.
| -rw-r--r-- | cscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -362,7 +362,10 @@ def dependencies(target, options): deps = [] # Let's use C++11 mode if we can - cpp_lib_options = {'force-cpp11': True} if target.platform == 'osx' and target.bits == 64 else {} + cpp_lib_options = {'force-cpp11': True} if ( + (target.platform == 'osx' and target.bits == 64) or + (target.platform == 'windows') + else {} deps.append(('libdcp', None, cpp_lib_options)) deps.append(('libsub', None, cpp_lib_options)) |
