Use c++11 on Windows too.
[dcpomatic.git] / cscript
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))