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:
parent
517661f935
commit
aa28904408
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue