path: root/tests/benchmarks/corelib/codecs/CMakeLists.txt
diff options
authorAndré Klitzing <>2020-03-26 12:52:22 +0100
committerTor Arne Vestbø <>2020-04-07 08:24:12 +0200
commit2a4e6124ac1f0c7beb061365a18146ca1f1e6233 (patch)
tree4770eb12a7d6554f70e9cb87a4b18a869632b752 /tests/benchmarks/corelib/codecs/CMakeLists.txt
parentb0383cbd388336f698ceeac11a4f50cdff931dd9 (diff)
Fix build with macOS 10.15 and deployment 10.12
io/qfilesystemengine_unix.cpp:1420:9: error: 'futimens' is only available on macOS 10.13 or newer [-Werror,-Wunguarded-availability-new] if (futimens(fd, ts) == -1) { ^~~~~~~~ /Applications/ note: 'futimens' has been marked as being introduced in macOS 10.13 here, but the deployment target is macOS 10.12.0 int futimens(int __fd, const struct timespec __times[2]) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0)); ^ io/qfilesystemengine_unix.cpp:1420:9: note: enclose 'futimens' in a __builtin_available check to silence this warning if (futimens(fd, ts) == -1) { ^~~~~~~~ Change-Id: Ib52adf7b1ec4f1057d8cb260a00da509429cfaed Reviewed-by: Tor Arne Vestbø <> (cherry picked from commit 2f030c2cf3fe368be217c0e0b157e050d1c27afc)
Diffstat (limited to 'tests/benchmarks/corelib/codecs/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions