microsoft / DirectXTK

The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
https://walbourn.github.io/directxtk/
MIT License
2.57k stars 510 forks source link

Fix CMake problem with /Zc:templateScope on older Windows SDKs #390

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

When building with CMake and VS 2022 Update 5 or later, I make use of /Zc:templateScope for conformance validation. This is, however, not compatible with the Windows SDK prior to the Windows SDK (22000) build.