From 1cd7ad6a240ee404928be96b87c2f47163f39422 Mon Sep 17 00:00:00 2001
From: Jonny Paton <jonathan.r.paton@googlemail.com>
Date: Mon, 27 Aug 2018 13:36:57 +0100
Subject: [PATCH] Remove reference to unused CMAKE_OSX_DEPLOYMENT_TARGET in
 cocoa example

---
 examples/cocoa/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/cocoa/CMakeLists.txt b/examples/cocoa/CMakeLists.txt
index ff63cc07..dfa46be5 100644
--- a/examples/cocoa/CMakeLists.txt
+++ b/examples/cocoa/CMakeLists.txt
@@ -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}"