mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
Merge pull request #6729 from emptyVoid/fix-vcpkg_acquire_msys
Fix MSYS hanging of PowerShell
This commit is contained in:
commit
a2dbe32b72
@ -1,3 +1,3 @@
|
||||
Source: icu
|
||||
Version: 61.1-6
|
||||
Version: 61.1-7
|
||||
Description: Mature and widely used Unicode and localization library.
|
||||
|
@ -209,11 +209,3 @@ vcpkg_copy_pdbs()
|
||||
# Handle copyright
|
||||
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/icu)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/icu/LICENSE ${CURRENT_PACKAGES_DIR}/share/icu/copyright)
|
||||
|
||||
# Deal with a stale process created by MSYS
|
||||
if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND TASKKILL /F /IM gpg-agent.exe /fi "memusage gt 2"
|
||||
WORKING_DIRECTORY ${SOURCE_PATH}
|
||||
)
|
||||
endif()
|
||||
|
@ -113,5 +113,13 @@ function(vcpkg_acquire_msys PATH_TO_ROOT_OUT)
|
||||
message(STATUS "Acquiring MSYS Packages... OK")
|
||||
endif()
|
||||
|
||||
# Deal with a stale process created by MSYS
|
||||
if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND TASKKILL /F /IM gpg-agent.exe /fi "memusage gt 2"
|
||||
WORKING_DIRECTORY ${SOURCE_PATH}
|
||||
)
|
||||
endif()
|
||||
|
||||
set(${PATH_TO_ROOT_OUT} ${PATH_TO_ROOT} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user