diff --git a/Makefile b/Makefile index 86126743..44061177 100644 --- a/Makefile +++ b/Makefile @@ -608,12 +608,12 @@ endif ifeq ($$($1_SUBSYSTEM), macos) $4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=/Applications/$(APPLE_XCODE_APP_NAME)/Contents/Developer/Platforms/$$($1_PLATFORM).platform/Developer/SDKs/$$($1_SDK).sdk -$4/$(CMAKE_CACHE): OSX_DEPLOYMENT_TARGET := -DCMAKE_DEPLOYMENT_TARGET=11.0 +$4/$(CMAKE_CACHE): OSX_DEPLOYMENT_TARGET := -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 endif ifeq ($$($1_SUBSYSTEM), ios) $4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=/Applications/$(APPLE_XCODE_APP_NAME)/Contents/Developer/Platforms/$$($1_PLATFORM).platform/Developer/SDKs/$$($1_SDK).sdk -$4/$(CMAKE_CACHE): OSX_DEPLOYMENT_TARGET := -DCMAKE_DEPLOYMENT_TARGET=12.0 +$4/$(CMAKE_CACHE): OSX_DEPLOYMENT_TARGET := -DCMAKE_OSX_DEPLOYMENT_TARGET=12.0 endif # ifneq ($(filter $$($1_PLATFORM), iPhoneSimulator),)