Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[cmake/win32] Don't use system wide installed dependencies #11246
Don't let cmake detect system wide installed libraries on windows.
Empty PATH (except VS Toolchain/bin) so that CMake won't pick up system wide installed dependencies (such as MySql or Python).
Motivation and Context
I want to bring this up for discussion again, as we now had a few cases where cmake detected system wide installed libs on windows leading into compile errors. Old PR was #10194
How Has This Been Tested?
Screenshots (if appropriate):
Types of change