diff options
| author | Karl Schultz <karl@lunarg.com> | 2018-04-18 11:46:21 -0600 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2018-04-18 11:46:21 -0600 |
| commit | 5028ecda28b6c8cf155caddf360f20ffe53897bf (patch) | |
| tree | 45784f3624a2c3d30abb48fbbb6e5e49f3e830f5 | |
| parent | 0bef3a5d57d0bc030de36d12f9b8c7e0f03906fe (diff) | |
| download | usermoji-5028ecda28b6c8cf155caddf360f20ffe53897bf.tar.xz | |
macos: Specify deployment target version
This allows using the build on macOS 10.12 even if built on 10.13.
Change-Id: I21939163551bb9a0d0088513a23dc5d2cf7f5206
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f73ce9..77d1d34c 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) |
