diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index de3027ee0e..07ccf891fb 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -73,14 +73,16 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: | - . /opt/intel/oneapi/mkl/latest/env/vars.sh - cmake -B ${{ steps.strings.outputs.build-output-dir }} \ - -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ - -DKokkos_ENABLE_OPENMP=${{ matrix.openmp }} \ - -DKokkos_ENABLE_SERIAL=${{ matrix.serial }} \ - -DENABLE_PYTHON=ON \ + env: + MKLROOT: c:\Program Files (x86)\Intel\oneAPI\mkl\latest + shell: bash + run: > + echo $MKLROOT && cmake -B ${{ steps.strings.outputs.build-output-dir }} + -DBUILD_SHARED_LIBS=ON + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + -DKokkos_ENABLE_OPENMP=${{ matrix.openmp }} + -DKokkos_ENABLE_SERIAL=${{ matrix.serial }} + -DENABLE_PYTHON=ON -S ${{ github.workspace }} - name: Build