Use brew's SDL2 on macOS

This commit is contained in:
Lior Halphon 2020-04-25 13:59:31 +03:00
parent 385cd1b8c7
commit 17c97c3c2b
1 changed files with 0 additions and 1 deletions

View File

@ -125,7 +125,6 @@ SYSROOT := $(shell xcodebuild -sdk macosx -version Path 2> $(NULL))
CFLAGS += -F/Library/Frameworks -mmacosx-version-min=10.9
OCFLAGS += -x objective-c -fobjc-arc -Wno-deprecated-declarations -isysroot $(SYSROOT)
LDFLAGS += -framework AppKit -framework PreferencePanes -framework Carbon -framework QuartzCore -weak_framework Metal -weak_framework MetalKit -mmacosx-version-min=10.9
SDL_LDFLAGS := -F/Library/Frameworks -framework SDL2
GL_LDFLAGS := -framework OpenGL
endif
CFLAGS += -Wno-deprecated-declarations