summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--next/CMakeLists.txt1
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>