Skip to content
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

doctest: if SYSTEM_DOCTEST add a find_package(doctest REQUIRED) #270

Merged
merged 1 commit into from
Sep 8, 2024
Merged

doctest: if SYSTEM_DOCTEST add a find_package(doctest REQUIRED) #270

merged 1 commit into from
Sep 8, 2024

Conversation

pranav-sivaraman
Copy link
Contributor

@pranav-sivaraman pranav-sivaraman commented Sep 8, 2024

Hi, I've been working on packaging fast-float for Spack, including tests. Since Spack aims to avoid vendored dependencies, it installs doctest separately in its own prefix and not in the system location. By adding a find_package(doctest) statement, as recommended in the doctest documentation, fast-float can successfully locate the package, allowing us to build and run the tests properly.

I made minimal changes to easily patch older versions.

@lemire
Copy link
Member

lemire commented Sep 8, 2024

Merging.

@lemire lemire merged commit fe53e76 into fastfloat:main Sep 8, 2024
38 checks passed
@pranav-sivaraman pranav-sivaraman deleted the add-find-package branch September 8, 2024 18:29
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