Jenkins: Fix Windows CMake toolchain file path
This commit is contained in:
@@ -211,7 +211,7 @@ then
|
|||||||
echo [-] Using MSYSTEM [$MSYSTEM]
|
echo [-] Using MSYSTEM [$MSYSTEM]
|
||||||
|
|
||||||
# Point CMake to the toolchain file.
|
# 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
|
elif is_mac
|
||||||
then
|
then
|
||||||
# macOS lacks nproc, but sysctl can do the same job.
|
# macOS lacks nproc, but sysctl can do the same job.
|
||||||
|
Reference in New Issue
Block a user