summaryrefslogtreecommitdiff
path: root/cmake/vendor.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-11-20 16:45:53 +0100
committerKonstantin Käfer <mail@kkaefer.com>2018-11-21 10:12:59 +0100
commitf30429832e78600b8100a812fb50bcf1b949d567 (patch)
tree567c4a57b6167e8b4cb4ec81221843ff4de22385 /cmake/vendor.cmake
parent53bbf9d6991c1eddfa141ddcfb4b7252874e46ec (diff)
downloadqtlocation-mapboxgl-f30429832e78600b8100a812fb50bcf1b949d567.tar.gz
[build] use GLFW as a submodule and update to most recent version
this fixes https://github.com/glfw/glfw/issues/1334 for macOS Mojave
Diffstat (limited to 'cmake/vendor.cmake')
-rw-r--r--cmake/vendor.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake
index 17128d10ee..557b0062d9 100644
--- a/cmake/vendor.cmake
+++ b/cmake/vendor.cmake
@@ -26,3 +26,7 @@ include(${CMAKE_SOURCE_DIR}/vendor/unique_resource.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/variant.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/vector-tile.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/wagyu.cmake)
+
+if(MBGL_PLATFORM STREQUAL "linux" OR MBGL_PLATFORM STREQUAL "macos")
+ include(${CMAKE_SOURCE_DIR}/vendor/glfw.cmake)
+endif()