Skip to content

Commit e1232dd

Browse files
committed
Fixed Windows build
1 parent 160ae41 commit e1232dd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/windows.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ jobs:
2828
cache-environment: true
2929

3030
- name: Configure using CMake
31-
run: cmake -Bbuild -DXTENSOR_INSTALL_R_PACKAGES=OFF -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)
31+
run: |
32+
cmake -Bbuild \
33+
-DXTENSOR_INSTALL_R_PACKAGES=OFF \
34+
-DCMAKE_C_COMPILER=$CC \
35+
-DCMAKE_CXX_COMPILER=$CXX \
36+
-G "MinGW Makefiles" \
37+
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
38+
-DDOWNLOAD_GTEST=ON \
39+
$(Build.SourcesDirectory)
3240
3341
- name: Install
3442
working-directory: build

0 commit comments

Comments
 (0)