Give a better reason for not referencing when there is a 2K/4K mismatch.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index a985fa940110a440e3e67a2ad93a01357643819f..043aba64ce9cfbcc95e5415d8f8b03a315059042 100644 (file)
--- a/cscript
+++ b/cscript
@@ -334,16 +334,18 @@ def option_defaults():
 
 def configure_options(target, options):
     opt = ''
+
+    if not (target.platform == 'linux' and target.distro == 'ubuntu' and (target.version == '18.04' or target.version == '16.04')):
+        # Currently we only build tests on Ubuntu 1{6,8}.04
+        opt += ' --disable-tests'
+
     if target.debug:
         opt += ' --enable-debug'
     if target.platform == 'windows':
-        opt += ' --target-windows --disable-tests'
-    elif target.platform == 'osx':
-        opt += ' --disable-tests'
+        opt += ' --target-windows'
     elif target.platform == 'linux':
         opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
         if target.distro == 'centos':
-            opt += ' --disable-tests'
             if target.version == '6.5':
                 opt += ' --static-boost --static-xmlpp'
             elif target.version == '7':