Open Ryanf55 opened 1 year ago
Looks fine, waiting for CI & doc 🚀
Found a bug - if any of the major, minor, or patch versions are 0, the find_package_handle_standard_args
reports the variables as not found.
That is odd, because 0.0.1 shoudl be a valid version or 1.0.0
ASIO_VERSION_PATCH
Correct, that is a valid version, however I don't think you are supposed to put ASIO_VERSION_PATCH
in the required variables. The math call should never fail.
We can assume if ASIO_VERSION
exists, the other related version variables should work.
Seems fair
This is the PR for #13, currently in draft to garner feedback.
TODO: Add cmake pre-commit hook to continue to lint the file
Note: This work was done on behalf of AeroVironment Inc.