Skip to content

Commit 063fbff

Browse files
amending instructions to cibuildwheel
1 parent 217e155 commit 063fbff

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
CXX=clang++
247247
FC=flang
248248
CMAKE_GENERATOR=Ninja
249-
CMAKE_TOOLCHAIN_FILE=D:\a\vcell-fvsolver\vcell-fvsolver\build\conan_toolchain.cmake
249+
CMAKE_TOOLCHAIN_FILE=D:\\a\\vcell-fvsolver\\vcell-fvsolver\\build\\conan_toolchain.cmake
250250
251251
# with:
252252
# package-dir: .

CMakeLists.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,16 @@ elseif (MINGW)
123123
if(NOT DEFINED CMAKE_CXX_COMPILER)
124124
set(CMAKE_CXX_COMPILER "clang++.exe")
125125
endif()
126-
126+
elseif (WINDOWS)
127+
if(NOT DEFINED CMAKE_C_COMPILER)
128+
set(CMAKE_C_COMPILER "clang.exe")
129+
endif()
130+
if(NOT DEFINED CMAKE_CXX_COMPILER)
131+
set(CMAKE_CXX_COMPILER "clang++.exe")
132+
endif()
133+
if(NOT DEFINED CMAKE_Fortran_COMPILER)
134+
set(CMAKE_CXX_COMPILER "flang.exe")
135+
endif()
127136
endif()
128137

129138
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")

0 commit comments

Comments
 (0)