File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
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
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
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if(APPLE)
3232endif ()
3333
3434find_package (Qt5 COMPONENTS Widgets Network REQUIRED )
35- find_package (zstd CONFIG REQUIRED )
35+ find_package (Zstd REQUIRED )
3636
3737message (STATUS "Qt5 framework version: ${Qt5Core_VERSION} " )
3838
Original file line number Diff line number Diff 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
2626if (WIN32 )
2727 set (CMAKE_WIN32_EXECUTABLE ON )
You can’t perform that action at this time.
0 commit comments