Skip to content

Commit 8a24ac4

Browse files
authored
Update msvc_build.yml
1 parent 3bef48c commit 8a24ac4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/msvc_build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
path: |
5454
${{ env.VCPKG_ROOT }}/downloads
5555
${{ env.VCPKG_ROOT }}/installed
56-
key: ${{ runner.os }}-vcpkg-${{ env.ARCH }}-${{ env.CACHE_NUMBER }}
56+
key: ${{ runner.os }}-vcpkg-${{ env.ARCH }}-${{ replace(env.VCPKG_PACKAGES, ' ', '_') }}
5757

5858
- name: Install vcpkg prerequisites
5959
shell: cmd
@@ -140,6 +140,8 @@ jobs:
140140
working-directory: ${{ env.GITHUB_WORKSPACE }}
141141
run: |
142142
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
143+
set MKL_INC=%MKLROOT%\include
144+
set INCLUDE=%INCLUDE%;%MKL_INC%
143145
set DEPS_DIR=%VCPKG_INSTALL_FOLDER%\%ARCH%-windows\include
144146
set XSD_DIR=%GITHUB_WORKSPACE%\%CS_XSD_INSTALL_FOLDER%
145147
set PATH=%DEPS_DIR%;%XSD_DIR%;%PATH%

0 commit comments

Comments
 (0)