summaryrefslogtreecommitdiff
path: root/cmake/mbgl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/mbgl.cmake')
-rw-r--r--cmake/mbgl.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index 97517fb9c5..8eb065dd09 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -155,7 +155,7 @@ function(add_vendor_target NAME TYPE)
foreach(FILE IN LISTS FILES)
target_sources(${NAME} ${SOURCE_TYPE} "${CMAKE_CURRENT_SOURCE_DIR}/vendor/${NAME}/${FILE}")
endforeach()
- target_include_directories(${NAME} ${INCLUDE_TYPE} "${CMAKE_CURRENT_SOURCE_DIR}/vendor/${NAME}/include")
+ target_include_directories(${NAME} SYSTEM ${INCLUDE_TYPE} "${CMAKE_CURRENT_SOURCE_DIR}/vendor/${NAME}/include")
create_source_groups(${NAME})
endfunction()