From e0a710590c860a257b8f2f4ec2607c8d75916d50 Mon Sep 17 00:00:00 2001 From: WhiredPlanck Date: Sun, 12 Nov 2023 19:22:01 +0800 Subject: [PATCH] refactor(jni): remove workaround for rime tools --- app/src/main/jni/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/jni/CMakeLists.txt b/app/src/main/jni/CMakeLists.txt index 79dd7f0402..1282054cf5 100644 --- a/app/src/main/jni/CMakeLists.txt +++ b/app/src/main/jni/CMakeLists.txt @@ -51,12 +51,7 @@ include_directories( PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/librime/deps/glog" PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/librime/deps/glog/src" ) -# workaround for librime/tools/rime_api_console.cc -# TODO: fix it in upstream -string(REPLACE "-Werror=format-security" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) -string(REPLACE "-Wformat" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) -add_definitions("-Wno-format") -# workaround end + add_subdirectory(librime) add_subdirectory(librime_jni)