Skip to content

Commit

Permalink
refactor(jni): remove workaround for rime tools
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Nov 12, 2023
1 parent 12a59e4 commit e0a7105
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/src/main/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e0a7105

Please sign in to comment.