Skip to content

fix: improve Emscripten support and spdlog configuration #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

fpelliccioni
Copy link
Contributor

  • Set boost as header_only when building for Emscripten to avoid linking issues
  • Only set spdlog as header_only when log option is 'spdlog'
  • Improve conditional configuration logic for better cross-platform support

This change fixes compilation issues when targeting Emscripten by ensuring boost is configured correctly for that platform, and makes spdlog configuration more conditional based on the actual log library being used.

- Set boost as header_only when building for Emscripten to avoid linking issues
- Only set spdlog as header_only when log option is 'spdlog'
- Improve conditional configuration logic for better cross-platform support

This change fixes compilation issues when targeting Emscripten by ensuring
boost is configured correctly for that platform, and makes spdlog configuration
more conditional based on the actual log library being used.
@fpelliccioni fpelliccioni merged commit 1e293ff into master Jun 30, 2025
11 checks passed
@fpelliccioni fpelliccioni deleted the fix/emscripten-boost-spdlog-configuration branch June 30, 2025 14:21
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.

1 participant