mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:28:14 +08:00
[vcpkg_copy_pdbs] Force output to be in en-us. Resolves #587
This commit is contained in:
parent
8ff736c6a4
commit
8b602f97c8
@ -13,6 +13,9 @@ function(vcpkg_copy_pdbs)
|
||||
|
||||
set(DLLS_WITHOUT_MATCHING_PDBS)
|
||||
|
||||
set(PREVIOUS_VSLANG $ENV{VSLANG})
|
||||
set(ENV{VSLANG} 1033)
|
||||
|
||||
foreach(DLL ${DLLS})
|
||||
execute_process(COMMAND dumpbin /PDBPATH ${DLL}
|
||||
COMMAND findstr PDB
|
||||
@ -31,6 +34,8 @@ function(vcpkg_copy_pdbs)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(ENV{VSLANG} ${PREVIOUS_VSLANG})
|
||||
|
||||
list(LENGTH DLLS_WITHOUT_MATCHING_PDBS UNMATCHED_DLLS_LENGTH)
|
||||
if(UNMATCHED_DLLS_LENGTH GREATER 0)
|
||||
merge_filelist(MSG DLLS_WITHOUT_MATCHING_PDBS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user