summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInokinoki <veyx.shaw@gmail.com>2020-06-07 13:42:28 +0200
committerPeng Wu <alexepico@gmail.com>2020-06-08 11:32:39 +0800
commitb206de15c32835e58654ba19238e232210df1097 (patch)
treeb28629cef2c2b6ff1290baced673cc52dfac3502
parentdd349069f9bd37f3e030c9fa4875eed6ccc8f628 (diff)
downloadlibpinyin-b206de15c32835e58654ba19238e232210df1097.tar.gz
libpinyin-b206de15c32835e58654ba19238e232210df1097.tar.xz
libpinyin-b206de15c32835e58654ba19238e232210df1097.zip
Fix CMake build: missing ../data/table.conf
Add data/table.conf as a output target from downloaded textual model data, so that it can be found during the build phase.
-rw-r--r--data/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 2c7d09b..ff3fd26 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -45,6 +45,7 @@ add_custom_command(
${CMAKE_SOURCE_DIR}/data/gb_char.table
${CMAKE_SOURCE_DIR}/data/gbk_char.table
${CMAKE_SOURCE_DIR}/data/interpolation2.text
+ ${CMAKE_SOURCE_DIR}/data/table.conf
COMMENT
"Downloading textual model data..."
COMMAND