When it is public, and the project is consumed by another cmake project, the c++17 flag unnecessarily propagates and generates additional warnings if the main project uses e.g., c++20.
like:
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++latest'
Can the visibility of the used C++ standard version be changed from PUBLIC to PRIVATE? https://github.com/spnda/fastgltf/blob/46f28f1355657c42c9f73bfcdde4ba37d05c2a2f/CMakeLists.txt#L90
When it is public, and the project is consumed by another cmake project, the c++17 flag unnecessarily propagates and generates additional warnings if the main project uses e.g., c++20.
like: