From d812a0c90c722b2f6183f283fa42eb26732b5762 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 2 Dec 2017 20:43:50 +0200 Subject: Fix OSX CI. This is a bit of a hack but needs to be done. :( --- test cases/osx/3 has function xcode8/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test cases/osx/3 has function xcode8/meson.build b/test cases/osx/3 has function xcode8/meson.build index 0df7365..edd3688 100644 --- a/test cases/osx/3 has function xcode8/meson.build +++ b/test cases/osx/3 has function xcode8/meson.build @@ -12,7 +12,7 @@ sdk_args = ['-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/M args_10_12 = ['-mmacosx-version-min=10.13'] + sdk_args # Test requires XCode 8 which has the MacOSX 10.12 SDK -if cc.version().version_compare('>=8.0') and cc.version().version_compare('<9.0') +if cc.version().version_compare('>=8.0') and cc.version().version_compare('<8.1') if cc.has_function('clock_gettime', args : args_10_11, prefix : '#include ') error('Should not have found clock_gettime via when targeting Mac OS X 10.11') endif -- cgit v1.1