mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
Merge pull request #273 from Morten242/multithreaded_install
Add /m switch to vcpkg_install_cmake
This commit is contained in:
commit
d746bf5822
@ -1,7 +1,7 @@
|
||||
function(vcpkg_install_cmake)
|
||||
message(STATUS "Package ${TARGET_TRIPLET}-rel")
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND ${CMAKE_COMMAND} --build . --config Release --target install
|
||||
COMMAND ${CMAKE_COMMAND} --build . --config Release --target install -- /m
|
||||
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
|
||||
LOGNAME package-${TARGET_TRIPLET}-rel
|
||||
)
|
||||
@ -9,7 +9,7 @@ function(vcpkg_install_cmake)
|
||||
|
||||
message(STATUS "Package ${TARGET_TRIPLET}-dbg")
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND ${CMAKE_COMMAND} --build . --config Debug --target install
|
||||
COMMAND ${CMAKE_COMMAND} --build . --config Debug --target install -- /m
|
||||
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
|
||||
LOGNAME package-${TARGET_TRIPLET}-dbg
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user