From 69478c5caafcde4c490bb1fccb960296801dbb5f Mon Sep 17 00:00:00 2001 From: myd7349 Date: Wed, 11 Aug 2021 01:00:29 +0800 Subject: [PATCH] [vcpkg-cmake] Fix vcpkg_copy_pdbs false alarm (#19369) --- scripts/cmake/vcpkg_copy_pdbs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/vcpkg_copy_pdbs.cmake b/scripts/cmake/vcpkg_copy_pdbs.cmake index 60335255a1..7e5c81e6d7 100644 --- a/scripts/cmake/vcpkg_copy_pdbs.cmake +++ b/scripts/cmake/vcpkg_copy_pdbs.cmake @@ -65,7 +65,7 @@ function(vcpkg_copy_pdbs) set(ENV{VSLANG} "${vslang_backup}") - if(NOT unmatched_dlls_length STREQUAL "") + if(NOT dlls_without_matching_pdbs STREQUAL "") list(JOIN dlls_without_matching_pdbs "\n " message) message(WARNING "Could not find a matching pdb file for: ${message}\n")