From ed3b50e3dd4ac5363efcb7eb6ce3848e8f61144e Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Thu, 22 Feb 2024 18:36:09 +0100 Subject: [PATCH] fix: proper cpp standard --- android/src/main/jni/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/jni/CMakeLists.txt b/android/src/main/jni/CMakeLists.txt index c89c4fb4..3e81bf2a 100644 --- a/android/src/main/jni/CMakeLists.txt +++ b/android/src/main/jni/CMakeLists.txt @@ -12,7 +12,7 @@ set(LIB_ANDROID_GENERATED_COMPONENTS_DIR ${LIB_ANDROID_GENERATED_JNI_DIR}/react/ add_compile_options( -fexceptions -frtti - -std=c++17 + -std=c++20 -Wall -Wpedantic -Wno-gnu-zero-variadic-macro-arguments @@ -61,7 +61,7 @@ target_compile_options( -DLOG_TAG=\"ReactNative\" -fexceptions -frtti - -std=c++17 + -std=c++20 -Wall )