diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-11-27 13:34:20 +0100 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-11-27 14:41:52 +0100 |
commit | f10097640a8a62f9a139952844a75ac9b0b12543 (patch) | |
tree | 533fefd8bc3b2f9fdd7737571e4b52829e9c4973 | |
parent | 11321497da66b1f4b05dc23a9b1b0b434018b661 (diff) | |
download | qtlocation-mapboxgl-f10097640a8a62f9a139952844a75ac9b0b12543.tar.gz |
[android] do not fail on tautological-constant-compare error
-rw-r--r-- | next/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/next/CMakeLists.txt b/next/CMakeLists.txt index 3828a4023c..6ed7b7a12e 100644 --- a/next/CMakeLists.txt +++ b/next/CMakeLists.txt @@ -43,6 +43,7 @@ add_compile_options( $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<PLATFORM_ID:Windows>>>:-Wall> $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<PLATFORM_ID:Windows>>>:-Wextra> $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<PLATFORM_ID:Windows>>>:-Werror> + $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<PLATFORM_ID:Android>>:-Wno-error=tautological-constant-compare> $<$<CXX_COMPILER_ID:GNU>:-Wno-error=maybe-uninitialized> $<$<CXX_COMPILER_ID:GNU>:-Wno-error=unknown-pragmas> $<$<CXX_COMPILER_ID:AppleClang>:-Wno-error=deprecated-declarations> |