Remove reference to unused CMAKE_OSX_DEPLOYMENT_TARGET in cocoa example

This commit is contained in:
Jonny Paton 2018-08-27 13:36:57 +01:00
parent 83d05ea822
commit 1cd7ad6a24

View File

@ -20,7 +20,7 @@ function(compile_xib)
endif()
# Default args taken from Xcode 9 when it generates a nib from a xib
set(DEFAULT_ARGS --errors --warnings --notices --module cocoa --auto-activate-custom-fonts --target-device mac --minimum-deployment-target ${CMAKE_OSX_DEPLOYMENT_TARGET} --output-format human-readable-text)
set(DEFAULT_ARGS --errors --warnings --notices --module cocoa --auto-activate-custom-fonts --target-device mac --output-format human-readable-text)
add_custom_command(OUTPUT "${THIS_OUTPUT}"
COMMAND "${IBTOOL}" ${DEFAULT_ARGS} "${THIS_INPUT}" --compile "${THIS_OUTPUT}"