make.bat: cache the vcredist directory.
authorRay Molenkamp <github@lazydodo.com>
Tue, 5 Jun 2018 13:25:37 +0000 (07:25 -0600)
committerRay Molenkamp <github@lazydodo.com>
Tue, 5 Jun 2018 13:25:37 +0000 (07:25 -0600)
commitd860d23e1a9c41ded126e54cae3c05ed9b869805
tree5c8a54fac159346e729963a62ef365f56f2e2f1a
parent88b46a6ce9694a3d1ab3d9df27c019b70fa3ac51
make.bat: cache the vcredist directory.

When run from make.bat the environment is setup correctly and the VCToolsRedistDir environment variable exists, on later invocations of cmake this may no longer be the case and a warning was emitted about the missing runtime. we can't rely on InstallRequiredSystemLibraries.cmake here since it uses the compiler version to figure out the correct location and it doesn't know how to deal with clang.
build_files/cmake/platform/platform_win32.cmake