Skip to content

Commit

Permalink
Update CMake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaeifar authored Mar 12, 2024
1 parent 93f80b6 commit 5e87cb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CMake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
# A list of supported versions can be found here:
# https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
boost_version: 1.74.0
boost_install_dir: /home/runner/boost

- uses: actions/checkout@v3

Expand All @@ -40,7 +41,7 @@ jobs:
- run: mkdir ${{github.workspace}}/build

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBoost_LIBRARY_DIRS=${{ steps.install-boost.outputs.BOOST_ROOT }}\lib -DBoost_INCLUDE_DIR=${{ steps.install-boost.outputs.BOOST_ROOT }}\include -DBOOST_ROOT=${{ steps.install-boost.outputs.BOOST_ROOT }}

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 5e87cb4

Please sign in to comment.