Blender Git Commit Log

Git Commits -> Revision 6239afd

Revision 6239afd by Ray Molenkamp (master)
July 18, 2016, 13:20 (GMT)
[MSVC/LNK4199/Cleanup] Delay loading is causing linker warnings.

We recently added delay-loading of the openmp dll's so we no longer had to use
the stub loader, we however put these linker flags on the global linker flags
causing any sub projects not using openmp to spit linker warning 4199 while building,

```
Warning LNK4199 /DELAYLOAD:vcomp140.dll ignored; no imports found from vcomp140.dll datatoc k:BlenderGitbuild_windows_2015asourceblenderdatatocLINK 1
```

This patch makes the delay-load only apply to the blender project.

Reviewers: sergey

Subscribers: sergey

Tags: #bf_blender

Differential Revision: https://developer.blender.org/D2092

Commit Details:

Full Hash: 6239afd36f9216f7944d1320fa8f19cc802b3a19
Parent Commit: 65e7caf
Committed By: Sergey Sharybin
Lines Changed: +26, -11

2 Modified Paths:

/build_files/cmake/macros.cmake (+18, -0) (Diff)
/CMakeLists.txt (+8, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021