summaryrefslogtreecommitdiff
path: root/cmake/mbgl.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-11-16 10:53:54 +0100
committerKonstantin Käfer <mail@kkaefer.com>2018-11-28 14:49:44 +0100
commita0b8f01c1baf640f34c0f46ba22efd399b7a0012 (patch)
tree96d9cb1b5f0daaf21b2dad3d880a1dcf15dde37e /cmake/mbgl.cmake
parent46edc91656a4468ff05f2a7b33c5fb036ab449d6 (diff)
downloadqtlocation-mapboxgl-a0b8f01c1baf640f34c0f46ba22efd399b7a0012.tar.gz
[build] use newer compiler versions for some builds
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()