Skip to content

Commit

Permalink
use vcpkg_execute_build_process instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBoosY committed Sep 29, 2019
1 parent 351e48b commit 72af04f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/cmake/vcpkg_build_make.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ function(vcpkg_build_make)
endif()
endif()

vcpkg_execute_required_process(
COMMAND ${MAKE} ${MAKE_OPTS}
vcpkg_execute_build_process(
COMMAND ${MAKE} -j ${VCPKG_CONCURRENCY} ${MAKE_OPTS}
WORKING_DIRECTORY ${WORKING_DIRECTORY}
LOGNAME "${_bc_LOGFILE_ROOT}-${TARGET_TRIPLET}${SHORT_BUILDTYPE}"
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/cmake/vcpkg_build_nmake.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function(vcpkg_build_nmake)
endif()

vcpkg_execute_required_process(
COMMAND ${MAKE} ${MAKE_OPTS}
COMMAND ${MAKE} -j ${VCPKG_CONCURRENCY} ${MAKE_OPTS}
WORKING_DIRECTORY ${OBJ_DIR}${_bn_PROJECT_SUBPATH}
LOGNAME "${_bn_LOGFILE_ROOT}-${CURRENT_TRIPLET_NAME}"
)
Expand Down

0 comments on commit 72af04f

Please sign in to comment.