mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 01:24:47 +08:00
[vcpkg|scripts] correctly restore env vars (#22313)
This commit is contained in:
parent
f73ca51564
commit
f5981dabf0
@ -216,6 +216,8 @@ function(vcpkg_build_make)
|
|||||||
set(ENV{PATH} "${env_backup_path}")
|
set(ENV{PATH} "${env_backup_path}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
vcpkg_restore_env_variables(VARS LIB LIBPATH LIBRARY_PATH)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
if (arg_ENABLE_INSTALL)
|
if (arg_ENABLE_INSTALL)
|
||||||
|
Loading…
Reference in New Issue
Block a user