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 committed by Lukas Dürrenberger
parent 254a470346
commit 7823588b1b

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}"