Skip to content

Commit

Permalink
attempt to fix macos build error...
Browse files Browse the repository at this point in the history
  • Loading branch information
r3w0p committed May 24, 2024
1 parent 53e87c3 commit 06ab7c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
os: ubuntu-latest
compiler: clang++

#- name: MacOS Clang
# os: macos-latest
# compiler: clang++
- name: MacOS Clang
os: macos-latest
compiler: clang++

- name: Windows GCC
os: windows-latest
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ FetchContent_Declare(ftxui
GIT_TAG v5.0.0
)
FetchContent_MakeAvailable(ftxui)
# For MacOS to avoid error: "Target "component" links to Threads::Threads but the target was not found."
find_package(Threads REQUIRED)
# ---


Expand Down

0 comments on commit 06ab7c6

Please sign in to comment.