Skip to content

Use maths from the system if the bundled one is not available#78

Merged
sebsjames merged 11 commits into
sebsjames:mainfrom
rremilian:feat/use_maths_from_vcpkg
Sep 30, 2025
Merged

Use maths from the system if the bundled one is not available#78
sebsjames merged 11 commits into
sebsjames:mainfrom
rremilian:feat/use_maths_from_vcpkg

Conversation

@rremilian
Copy link
Copy Markdown
Contributor

@rremilian rremilian commented Sep 27, 2025

The changes are quite simple. We first check if the bundled maths is available.
If it is, we will use that (e.g. if we cloned the repository). If it's not (e.g. when building from vcpkg), we will search in the path for a header from sm. I chose algo, but it's just an arbitrary choice - I am open to suggestions.

Also, I saw that you have a maths-config.cmake. Can we currently use find_package to find maths ? I saw that you included maths.cmake, but I couldn't find that file.

@sebsjames sebsjames merged commit be2387f into sebsjames:main Sep 30, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants