From f30429832e78600b8100a812fb50bcf1b949d567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 20 Nov 2018 16:45:53 +0100 Subject: [build] use GLFW as a submodule and update to most recent version this fixes https://github.com/glfw/glfw/issues/1334 for macOS Mojave --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a48e2c2b01..5db8b45894 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,8 @@ set(CMAKE_C_VISIBILITY_PRESET hidden) set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) +set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11) + option(WITH_CXX11ABI "Use the C++11 ABI" OFF) option(WITH_COVERAGE "Enable coverage reports" OFF) option(WITH_OSMESA "Use OSMesa headless backend" OFF) @@ -31,8 +33,8 @@ if (WITH_ERROR) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") endif() -include(cmake/vendor.cmake) include(cmake/mbgl.cmake) +include(cmake/vendor.cmake) include(cmake/mason.cmake) include(cmake/xcode.cmake) -- cgit v1.2.1