projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f7bf2
)
Use c++11 on Windows too.
author
Carl Hetherington
<cth@carlh.net>
Mon, 6 Apr 2020 14:40:46 +0000
(16:40 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 6 Apr 2020 14:40:46 +0000
(16:40 +0200)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 1f2ec62a92f2346896399274a85cb7386ca958e9..cd74e8ef5771903baa062759b7298bb3aabd1b41 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-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))