summaryrefslogtreecommitdiff
path: root/cmake/vendor.cmake
diff options
context:
space:
mode:
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()