Blender Git Loki

Git Commits -> Revision c7b00ef

Revision c7b00ef by Ray molenkamp (master)
September 3, 2020, 18:39 (GMT)
MSVC: Fix cmake warnings with MSVC updates

CMake caches the location of the CRT runtime in the
MSVC_REDIST_DIR variable, and uses it to copy the required
dll's during the install phase.

This variable is only initialized when it does not exist.
Leading to issues when compiler updates are installed and
the compiler version slightly changes, cmake still looks
in the old location for the runtime and warns about the
files not existing.

This change fixes the issue by checking if the redist dir
exists and if not unsets it so InstallRequiredSystemLibraries
can have another go at figuring out where they live.

Commit Details:

Full Hash: c7b00ef625f174199c2e173026a4ec5d7e57c2ec
Parent Commit: 19fff96
Lines Changed: +8, -0

1 Modified Path:

/build_files/cmake/platform/platform_win32_bundle_crt.cmake (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021