diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-11-16 10:53:54 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-11-28 14:49:44 +0100 |
commit | a0b8f01c1baf640f34c0f46ba22efd399b7a0012 (patch) | |
tree | 96d9cb1b5f0daaf21b2dad3d880a1dcf15dde37e /cmake/test.cmake | |
parent | 46edc91656a4468ff05f2a7b33c5fb036ab449d6 (diff) | |
download | qtlocation-mapboxgl-a0b8f01c1baf640f34c0f46ba22efd399b7a0012.tar.gz |
[build] use newer compiler versions for some builds
Diffstat (limited to 'cmake/test.cmake')
-rw-r--r-- | cmake/test.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/test.cmake b/cmake/test.cmake index 053ba92d76..4f7933ade2 100644 --- a/cmake/test.cmake +++ b/cmake/test.cmake @@ -8,6 +8,8 @@ else() add_executable(mbgl-test ${MBGL_TEST_FILES}) endif() +# GCC 8+ trips over GTest's way of defining Test functions +target_compile_options(mbgl-test PRIVATE -Wno-shadow) if(NOT WITH_NODEJS) target_compile_definitions(mbgl-test PRIVATE "-DTEST_HAS_SERVER=0") |