Skip to content

Commit fccb9b8

Browse files
authored
Merge pull request #576 from chewing/fix-build-testing-off
build: Fix installation of static data when not building tests
2 parents f2d7e67 + 3d53110 commit fccb9b8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

NEWS

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ What's New in libchewing 0.8.4 (May 27, 2024)
22
---------------------------------------------------------
33

44
* Bug fixed
5-
- Config options were incorrectly reset after certain operations (introduced
5+
- Config options were incorrectly reset after certain operations. (introduced
66
in v0.8.0)
7+
- Installation failure if build with testing off. (introduced in v0.8.3)
78

89

910
What's New in libchewing 0.8.3 (May 25, 2024)

data/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ add_custom_target(data ALL DEPENDS ${ALL_DATA})
1414

1515
# We need to copy static data to binary tree when using out of tree build.
1616
set(ALL_STATIC_DATA
17-
${DATA_BIN_DIR}/pinyin.tab
18-
${DATA_BIN_DIR}/swkb.dat
19-
${DATA_BIN_DIR}/symbols.dat
17+
${DATA_SRC_DIR}/pinyin.tab
18+
${DATA_SRC_DIR}/swkb.dat
19+
${DATA_SRC_DIR}/symbols.dat
2020
)
2121

2222
add_custom_target(all_static_data

0 commit comments

Comments
 (0)