graphicsdriver/metal: Update the minimum macOS version to 10.12 for Go 1.15

This commit is contained in:
Hajime Hoshi 2020-07-25 04:18:18 +09:00
parent 5ec3113aa2
commit eb056690aa
4 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ import (
// It is because old Xcode (8 or older?) does not accept @available syntax. // It is because old Xcode (8 or older?) does not accept @available syntax.
// #cgo CFLAGS: -Wno-unguarded-availability-new // #cgo CFLAGS: -Wno-unguarded-availability-new
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11 // #cgo !ios CFLAGS: -mmacosx-version-min=10.12
// #cgo LDFLAGS: -framework QuartzCore -framework Foundation -framework CoreGraphics // #cgo LDFLAGS: -framework QuartzCore -framework Foundation -framework CoreGraphics
// //
// #include "ca.h" // #include "ca.h"

View File

@ -31,7 +31,7 @@ import (
) )
// #cgo CFLAGS: -x objective-c // #cgo CFLAGS: -x objective-c
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11 // #cgo !ios CFLAGS: -mmacosx-version-min=10.12
// #cgo LDFLAGS: -framework Foundation // #cgo LDFLAGS: -framework Foundation
// //
// #import <Foundation/Foundation.h> // #import <Foundation/Foundation.h>

View File

@ -30,7 +30,7 @@ import (
"unsafe" "unsafe"
) )
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11 // #cgo !ios CFLAGS: -mmacosx-version-min=10.12
// #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation // #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation
// //
// #include <stdlib.h> // #include <stdlib.h>

View File

@ -27,7 +27,7 @@ import (
"github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ca" "github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ca"
) )
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11 // #cgo !ios CFLAGS: -mmacosx-version-min=10.12
// //
// #include "ns.h" // #include "ns.h"
import "C" import "C"