aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-06 07:19:54 -0700
committerGitHub <noreply@github.com>2020-08-06 07:19:54 -0700
commit56174640c9b593f088145ea9cea70d84edf65c92 (patch)
tree41999260113fba71513884ae0914725e6ed3b824 /scripts
parentba5707d3b6abda6802bbbc14923aa69f860712ca (diff)
downloadvcpkg-56174640c9b593f088145ea9cea70d84edf65c92.tar.gz
vcpkg-56174640c9b593f088145ea9cea70d84edf65c92.zip
[vcpkg_build_qmake] Disable multi-threaded build when file fails to open (#12752)
* Disable multi-threaded build when file fails to open * re-trigger qt5 test
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_build_qmake.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_build_qmake.cmake b/scripts/cmake/vcpkg_build_qmake.cmake
index 6f3c871de..deecf4f06 100644
--- a/scripts/cmake/vcpkg_build_qmake.cmake
+++ b/scripts/cmake/vcpkg_build_qmake.cmake
@@ -28,8 +28,9 @@ function(vcpkg_build_qmake)
function(run_jom TARGETS LOG_PREFIX LOG_SUFFIX)
message(STATUS "Package ${LOG_PREFIX}-${TARGET_TRIPLET}-${LOG_SUFFIX}")
- vcpkg_execute_required_process(
+ vcpkg_execute_build_process(
COMMAND ${INVOKE} -j ${VCPKG_CONCURRENCY} ${TARGETS}
+ NO_PARALLEL_COMMAND ${INVOKE} -j 1 ${TARGETS}
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${LOG_SUFFIX}
LOGNAME package-${LOG_PREFIX}-${TARGET_TRIPLET}-${LOG_SUFFIX}
)