diff options
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r-- | data/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index ff3fd26..03b7055 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -68,9 +68,9 @@ add_custom_command( ${gen_binary_files_BIN} --table-dir ${CMAKE_SOURCE_DIR}/data DEPENDS gen_binary_files - ${CMAKE_SOURCE_DIR}/data/gb_char.table - ${CMAKE_SOURCE_DIR}/data/gbk_char.table - ${CMAKE_SOURCE_DIR}/data/table.conf + ${CMAKE_SOURCE_DIR}/data/gb_char.table + ${CMAKE_SOURCE_DIR}/data/gbk_char.table + ${CMAKE_SOURCE_DIR}/data/table.conf ) add_custom_command( @@ -84,7 +84,11 @@ add_custom_command( ${gen_unigram_BIN} --table-dir ${CMAKE_SOURCE_DIR}/data DEPENDS import_interpolation - ${CMAKE_SOURCE_DIR}/data/interpolation2.text + ${CMAKE_SOURCE_DIR}/data/interpolation2.text + ${CMAKE_BINARY_DIR}/data/gb_char.bin + ${CMAKE_BINARY_DIR}/data/gbk_char.bin + ${CMAKE_BINARY_DIR}/data/phrase_index.bin + ${CMAKE_BINARY_DIR}/data/pinyin_index.bin ) install( |