Repository navigation
Commit 402ffad
committed
fix(cmake): correct G2P Support directory casing to match git repository
Previous commit b3c26d7 assumed lowercase support/common/ directories,
but git repository actually stores Support/Common/ (capital S, capital C).
On Windows the local build worked due to case-insensitive filesystem, but
vcpkg builds from GitHub preserve git casing, causing the EXCLUDE regex
/support/(Inferutil|common)/ to NOT match /Support/Common/ paths.
Result: PinyinG2pTaskImplBase.cpp and Verifier.cpp were compiled into
srt-g2p target (which doesn't link re2/cpp-pinyin), causing LNK2019
unresolved externals for Pinyin::setDictionaryPath and re2::RE2::~RE2.
Fix: restore regex to /Support/(Inferutil|Common)/ and add_subdirectory
calls to use capital Support/Common matching the git repository casing.1 parent b3c26d7 commit 402ffad
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
0 commit comments