From f5981dabf0d4710999abbba95566cc61716cd0b5 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Wed, 5 Jan 2022 05:00:21 +0100 Subject: [PATCH] [vcpkg|scripts] correctly restore env vars (#22313) --- scripts/cmake/vcpkg_build_make.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cmake/vcpkg_build_make.cmake b/scripts/cmake/vcpkg_build_make.cmake index 0754feb8e9..787471e19d 100755 --- a/scripts/cmake/vcpkg_build_make.cmake +++ b/scripts/cmake/vcpkg_build_make.cmake @@ -216,6 +216,8 @@ function(vcpkg_build_make) set(ENV{PATH} "${env_backup_path}") endif() endif() + + vcpkg_restore_env_variables(VARS LIB LIBPATH LIBRARY_PATH) endforeach() if (arg_ENABLE_INSTALL)