Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Jul 28, 2024
1 parent 772d136 commit 303c579
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
if: startsWith(matrix.os, 'macos')
run: |
brew install ninja \
extra-cmake-modules \
sdl2
wget https://github.com/fcitx-contrib/fcitx5-macos/releases/download/latest/Fcitx5-${{ matrix.arch }}.tar.bz2
sudo tar xjvf Fcitx5-${{ matrix.arch }}.tar.bz2 -C "/Library/Input Methods"
Expand All @@ -48,6 +49,8 @@ jobs:
run: |
cmake -B build -G Ninja \
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13 \
-DCMAKE_FIND_ROOT_PATH="/Library/Input Methods/Fcitx5.app/Contents" \
-DCMAKE_BUILD_TYPE=Release
- name: Build
Expand Down
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ if (APPLE)
${CoreHaptics_LIB}
${AVFoundation_LIB}
${CoreHaptics_LIB}
${Cocoa_LIB}
objc)
${Cocoa_LIB})
endif()

add_library(voice MODULE
Expand Down

0 comments on commit 303c579

Please sign in to comment.