Jenkins: Fix Windows CMake toolchain file path

This commit is contained in:
RichardG867
2022-02-11 14:09:21 -03:00
parent e45f5f67d2
commit 1eb32a6877

View File

@@ -211,7 +211,7 @@ then
echo [-] Using MSYSTEM [$MSYSTEM]
# Point CMake to the toolchain file.
cmake_flags_extra="$cmake_flags_extra -D CMAKE_TOOLCHAIN_FILE=\"$cwd/cmake/$toolchain.cmake\""
cmake_flags_extra="$cmake_flags_extra -D CMAKE_TOOLCHAIN_FILE=\"cmake/$toolchain.cmake\""
elif is_mac
then
# macOS lacks nproc, but sysctl can do the same job.