From: Karl Schultz Date: Wed, 18 Apr 2018 17:46:21 +0000 (-0600) Subject: macos: Specify deployment target version X-Git-Tag: upstream/1.1.92~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5028ecda28b6c8cf155caddf360f20ffe53897bf;p=platform%2Fupstream%2FVulkan-Tools.git macos: Specify deployment target version This allows using the build on macOS 10.12 even if built on 10.13. Change-Id: I21939163551bb9a0d0088513a23dc5d2cf7f5206 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f73ce..77d1d34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,10 @@ # refer to the root source directory of the project as ${VULKAN_SOURCE_DIR} and # to the root binary directory of the project as ${VULKAN_BINARY_DIR}. cmake_minimum_required(VERSION 2.8.11) + +# This must come before the project command. +set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12" CACHE STRING "Minimum OS X deployment version") + project (VULKAN) # set (CMAKE_VERBOSE_MAKEFILE 1)