From 5e87cb43cebe9120bcd62e332f81796518f49234 Mon Sep 17 00:00:00 2001 From: Ali Aghaeifar <11705505+aghaeifar@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:31:03 +0100 Subject: [PATCH] Update CMake.yml --- .github/workflows/CMake.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CMake.yml b/.github/workflows/CMake.yml index 68b81d4..9ef35e1 100644 --- a/.github/workflows/CMake.yml +++ b/.github/workflows/CMake.yml @@ -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 @@ -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