This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[New Environment variable] add an Environment variable like VCPKG_DISABLE to disable vcpkg integration once but not global #37518
Labels
category:question
This issue is a question
Is your feature request related to a problem? Please describe.
node windows compile failed if zlib is installed by vcpkg and vcpkg integration install is done
I can confirm that because the node link error gone after vcpkg integration remove
Ref: nodejs/node#24448
Proposed solution
add VCPKG_DISABLE to disable vcpkg integration for the child process, because my other c++ project depend on vcpkg integration.
this can be done either skip on user side, or system side:
Describe alternatives you've considered
do vcpkg integration remove and run other c++ project with cmake toolchain
Additional context
https://learn.microsoft.com/en-us/vcpkg/users/config-environment
The text was updated successfully, but these errors were encountered: