Removed the -DMACOSX_DEPLOYMENT_TARGET; this is an env var, not a macro. Thanks to Psy in irc.freenode.net/#macdev.

This commit is contained in:
Pietro Gagliardi 2016-05-30 22:26:08 -04:00
parent 517661f935
commit aa28904408
2 changed files with 2 additions and 6 deletions

View File

@ -21,8 +21,6 @@ if(APPLE)
set(_SETVERSION TRUE) set(_SETVERSION TRUE)
set(_VERSION "A") set(_VERSION "A")
# TODO -DMACOSX_DEPLOYMENT_TARGET=10.8") ?
set(_PLATFORM_LIBS set(_PLATFORM_LIBS
"-lobjc -framework Foundation -framework AppKit") "-lobjc -framework Foundation -framework AppKit")

View File

@ -46,11 +46,9 @@ LDFLAGS += $(NATIVE_UI_LDFLAGS)
# flags for OS X versioning # flags for OS X versioning
CFLAGS += \ CFLAGS += \
-mmacosx-version-min=10.8 \ -mmacosx-version-min=10.8
-DMACOSX_DEPLOYMENT_TARGET=10.8
CXXFLAGS += \ CXXFLAGS += \
-mmacosx-version-min=10.8 \ -mmacosx-version-min=10.8
-DMACOSX_DEPLOYMENT_TARGET=10.8
LDFLAGS += \ LDFLAGS += \
-mmacosx-version-min=10.8 -mmacosx-version-min=10.8