Skip to content

Commit

Permalink
fix(tools): non-standard build config of rime_table_decompiler
Browse files Browse the repository at this point in the history
The build config of rime_table_decompiler didn't comply with the specification like other tools, and leads to build failure on Android.
  • Loading branch information
WhiredPlanck committed Mar 17, 2024
1 parent 51076a8 commit d8297d9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,9 @@ target_link_libraries(rime_deployer
${rime_dict_library}
${rime_levers_library})

set(rime_table_decompiler_src
"rime_table_decompiler.cc"
${CMAKE_SOURCE_DIR}/src/rime/dict/table.cc
${CMAKE_SOURCE_DIR}/src/rime/dict/mapped_file.cc
${CMAKE_SOURCE_DIR}/src/rime/dict/string_table.cc
${CMAKE_SOURCE_DIR}/src/rime/dict/vocabulary.cc
)
set(rime_table_decompiler_src "rime_table_decompiler.cc")
add_executable(rime_table_decompiler ${rime_table_decompiler_src})
target_compile_definitions(rime_deployer PRIVATE RIME_IMPORTS)
target_link_libraries(rime_table_decompiler
${rime_library}
${rime_dict_library})
Expand Down

0 comments on commit d8297d9

Please sign in to comment.