File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff 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: .
Original file line number Diff line number Diff 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 ()
127136endif ()
128137
129138set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR} /cmake/modules/" )
You can’t perform that action at this time.
0 commit comments