Update build.yml to use /opt/homebrew for macOS github action

This commit is contained in:
mcuee
2024-04-28 18:19:59 +08:00
committed by GitHub
parent b6c15d783c
commit dceb55da6a

View File

@@ -221,8 +221,8 @@ jobs:
- name: Configure
run: >-
cmake
-D CMAKE_C_FLAGS=-I/usr/local/include
-D CMAKE_EXE_LINKER_FLAGS=-L/usr/local/Cellar
-D CMAKE_C_FLAGS=-I/opt/homebrew/include
-D CMAKE_EXE_LINKER_FLAGS=-L/opt/homebrew/Cellar
-D DEBUG_CMAKE=1
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-B build