microsoft / DirectXMesh

DirectXMesh geometry processing library
https://walbourn.github.io/directxmesh/
MIT License
787 stars 151 forks source link

Fix for CMake using MinGW #179

Closed walbourn closed 3 weeks ago

walbourn commented 3 weeks ago

For Win32 scenarios, DirectXMath and DirectX-Headers are optional for building. Even when using those packages to build the library, the client code can still choose to use the SDK version of those headers which works fine.

For MinGW, however, clients must always use the packages since the platform toolset don't include these headers (or at least not the right versions of them).