Skip to content

Commit 872a8b5

Browse files
committed
fix build
pkg+
1 parent f964fe4 commit 872a8b5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
mkdir build
3333
cd build
34-
cmake .. -DENABLE_IBUS=ON -DENABLE_FCITX=ON
34+
cmake .. -DENABLE_BOTH=ON
3535
make
3636
3737
build-macos:
@@ -44,7 +44,7 @@ jobs:
4444
submodules: recursive
4545

4646
- name: install-deps
47-
run: brew install cmake qt@5 zstd
47+
run: brew install cmake qt@5 zstd ninja
4848

4949
- name: setup-qt
5050
run: echo "$(brew --prefix qt@5)/bin" >> $GITHUB_PATH
@@ -53,6 +53,6 @@ jobs:
5353
run: |
5454
mkdir build
5555
cd build
56-
cmake .. -DCMAKE_PREFIX_PATH="$(brew --prefix qt@5);$(brew --prefix zstd)"
56+
cmake .. -DCMAKE_PREFIX_PATH="$(brew --prefix qt@5);$(brew --prefix zstd)" -GNinja
5757
make
5858

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(APPLE)
3232
endif()
3333

3434
find_package(Qt5 COMPONENTS Widgets Network REQUIRED)
35-
find_package(zstd CONFIG REQUIRED)
35+
find_package(Zstd REQUIRED)
3636

3737
message(STATUS "Qt5 framework version: ${Qt5Core_VERSION}")
3838

src/frontend/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set(SRC_MAIN main.cpp
2121
AvroPhonetic.cpp
2222
PlatformConfig.cpp)
2323

24-
set(LINK_LIBS libShared Qt5::Widgets Qt5::Network zstd::libzstd)
24+
set(LINK_LIBS libShared Qt5::Widgets Qt5::Network zstd::libzstd_shared)
2525

2626
if(WIN32)
2727
set(CMAKE_WIN32_EXECUTABLE ON)

0 commit comments

Comments
 (0)