Update darwin flags

This commit is contained in:
Milan Nikolic 2024-05-09 17:21:52 +02:00
parent 4b3ab504c8
commit f68049cf26
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ package rl
/*
#cgo darwin LDFLAGS: -framework Cocoa -framework IOKit -framework CoreVideo -framework CoreFoundation
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations -Wno-implicit-const-int-float-conversion -DPLATFORM_DESKTOP_SDL
#cgo darwin CFLAGS: -Wno-deprecated-declarations -Wno-implicit-const-int-float-conversion -DPLATFORM_DESKTOP_SDL
#cgo darwin pkg-config: sdl2
#cgo darwin,!es2,!es3 LDFLAGS: -framework OpenGL