From ff219d412d4c55359a92ea4d2459395b01934881 Mon Sep 17 00:00:00 2001 From: "Charlton, Scott R" Date: Mon, 17 Jun 2024 15:01:24 -0600 Subject: [PATCH] Added CMAKE_PREFIX_PATH --- .github/workflows/cmake-multi-platform.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 5f358717..c781f9f8 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -79,11 +79,12 @@ jobs: # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: > cmake -B ${{ steps.strings.outputs.build-output-dir }} - -G ${{ matrix.generator }} + -G "${{ matrix.generator }}" -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_Fortran_COMPILER=${{ steps.setup-fortran.outputs.fc }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + -DCMAKE_PREFIX_PATH="${{ env.CONDA_PREFIX }}/Library" -S ${{ github.workspace }} - name: Build