fix: 修复CMakeLists.txt中的abseil-cpp库问题
Some checks failed
Build Server / Compile DLL (push) Failing after 1m30s

- 修复CMakeLists.txt中的版本问题以解决abseil-cpp库的已知问题。
This commit is contained in:
2025-07-07 23:58:08 +08:00
parent b1f99e3743
commit 532e07fdb7

View File

@@ -17,9 +17,9 @@ jobs:
yay -Syu --noconfirm cmake python
- run: |
git clone https://github.com/swigger/wechat-ocr.git wcocr
# - run: |
# # fix: https://github.com/abseil/abseil-cpp/issues/1206
# sed -i 's/v3.21.0/v3.21.2/g' wcocr/CMakeLists.txt
- run: |
# fix: https://github.com/abseil/abseil-cpp/issues/1206
sed -i 's/v3.21.0/v3.21.2/g' wcocr/CMakeLists.txt
- run: |
mkdir -p wcocr/build && cd wcocr/build && cmake .. && make -j$(nproc)
- name: Upload artifacts