microsoft / DirectXMesh

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

CMake targets fixes for optional vs. required packages #105

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

WIth the changes to make use of DirectXMath & DirectX-Headers 'optional' for VCPKG scenarios unless using MinGW -or- Linux, the generated targets file needed more robust handling of these targets.

Also made sure that explicit 'scope' is used consistently with all CMake target_ commands.