Skip to content

Commit

Permalink
Fix OSX CI. This is a bit of a hack but needs to be done. :(
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Dec 2, 2017
1 parent 793fc00 commit d812a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test cases/osx/3 has function xcode8/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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 <time.h>')
error('Should not have found clock_gettime via <time.h> when targeting Mac OS X 10.11')
endif
Expand Down

0 comments on commit d812a0c

Please sign in to comment.