[vcpkg_build_make] pass no parallel command to execute_process when parallel build is disabled (#17018)

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
This commit is contained in:
Ilya Arzhannikov 2021-04-02 21:40:16 +02:00 committed by GitHub
parent 92608fb8b0
commit 25d26e7594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ function(vcpkg_build_make)
if (_bc_DISABLE_PARALLEL) if (_bc_DISABLE_PARALLEL)
vcpkg_execute_build_process( vcpkg_execute_build_process(
COMMAND ${MAKE_BASH} ${MAKE_CMD_LINE} COMMAND ${MAKE_BASH} ${NO_PARALLEL_MAKE_CMD_LINE}
WORKING_DIRECTORY "${WORKING_DIRECTORY}" WORKING_DIRECTORY "${WORKING_DIRECTORY}"
LOGNAME "${_bc_LOGFILE_ROOT}-${TARGET_TRIPLET}${SHORT_BUILDTYPE}" LOGNAME "${_bc_LOGFILE_ROOT}-${TARGET_TRIPLET}${SHORT_BUILDTYPE}"
) )