Skip to content

Commit

Permalink
Github Actions: Install older macos protobuf (3.21) (#1131)
Browse files Browse the repository at this point in the history
As the most recent version has an abseil dependency which leads to build errors as C++17 is not activated for the build.
  • Loading branch information
KerstinKeller committed Jun 26, 2023
1 parent 7011931 commit 753bc93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
target: 'desktop'

- name: Install Dependencies
run: brew install ninja doxygen graphviz protobuf hdf5 pkg-config
run: brew install ninja doxygen graphviz protobuf@21 hdf5 pkg-config

- name: Install Cap’n Proto
run: |
Expand Down Expand Up @@ -85,6 +85,7 @@ jobs:
-DECAL_THIRDPARTY_BUILD_QWT=ON \
-DECAL_THIRDPARTY_BUILD_YAML-CPP=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=/usr/local/opt/protobuf@21 \
-DCMAKE_CXX_STANDARD=14 \
-DPython_FIND_STRATEGY=LOCATION \
-DPython_FIND_REGISTRY=NEVER
Expand Down

0 comments on commit 753bc93

Please sign in to comment.