From 25a3f531ce022776bb3f94dc90de7f67ada90460 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Apr 2020 16:40:46 +0200 Subject: Use c++11 on Windows too. --- cscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cscript b/cscript index 1f2ec62a9..cd74e8ef5 100644 --- 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)) -- cgit v1.2.3