From 25d26e75948e3871061bef6a739a2794585a7aa1 Mon Sep 17 00:00:00 2001 From: Ilya Arzhannikov Date: Fri, 2 Apr 2021 21:40:16 +0200 Subject: [PATCH] [vcpkg_build_make] pass no parallel command to execute_process when parallel build is disabled (#17018) Co-authored-by: Ilya Arzhannikov --- scripts/cmake/vcpkg_build_make.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/vcpkg_build_make.cmake b/scripts/cmake/vcpkg_build_make.cmake index 2560f93d4d..722dbbd746 100755 --- a/scripts/cmake/vcpkg_build_make.cmake +++ b/scripts/cmake/vcpkg_build_make.cmake @@ -187,7 +187,7 @@ function(vcpkg_build_make) if (_bc_DISABLE_PARALLEL) vcpkg_execute_build_process( - COMMAND ${MAKE_BASH} ${MAKE_CMD_LINE} + COMMAND ${MAKE_BASH} ${NO_PARALLEL_MAKE_CMD_LINE} WORKING_DIRECTORY "${WORKING_DIRECTORY}" LOGNAME "${_bc_LOGFILE_ROOT}-${TARGET_TRIPLET}${SHORT_BUILDTYPE}" )