Skip to content

Commit 22b258d

Browse files
committed
Use prefix to find boost cmake configuration.
1 parent ac66ddc commit 22b258d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/actions/install-boost/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ runs:
3333
run: |
3434
choco install boost-msvc-14.3 --version 1.87.0 -y --no-progress
3535
echo "BOOST_ROOT=C:\local\boost_1_87_0" >> $GITHUB_OUTPUT
36+
echo "CMAKE_PREFIX_PATH=C:\local\boost_1_87_0\lib64-msvc-14.3\cmake\Boost-1.87.0" >> $GITHUB_OUTPUT
3637
3738
- name: Install boost using homebrew
3839
id: brew-action

.github/workflows/hello-apps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
run: ./scripts/run-hello-apps.sh static hello-c-client hello-cpp-client hello-c-server hello-cpp-server
3535
env:
3636
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
37+
CMAKE_PREFIX_PATH: ${{ steps.install-boost.outputs.CMAKE_PREFIX_PATH }}
3738
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
39+
3840
- name: Dynamically Linked Hello Apps (C API only)
3941
shell: bash
4042
continue-on-error: true # TODO(SC-223804)

0 commit comments

Comments
 (0)