[vcpkg_install_gn] Fix variable name typo (#18186)

This commit is contained in:
Martin Vejdarski 2021-06-02 22:42:18 +02:00 committed by GitHub
parent 212477fd66
commit 385bd9b1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ function(z_vcpkg_install_gn_install)
TARGET "//${target}"
)
foreach(output IN LISTS OUTPUTS)
foreach(output IN LISTS outputs)
if(output MATCHES "^//")
# relative path (e.g. //out/Release/target.lib)
string(REGEX REPLACE "^//" "${arg_SOURCE_PATH}/" output "${output}")