Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CFG on our static-lib-only DLL projects (microsoft#16056)
Control Flow Guard requires both linker and compiler flags. It turns out that the MSVC build rules determine whether to _link_ with CFG based on whether it compiled anything with CFG. It also turns out that when you don't compile anything (such as in our DLL projects that only consume a static library!), the build rules can't guess whether to link with CFG. Whoops. We need to force it.
- Loading branch information