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

Missing pkg-config file doctest.pc #850

Open
mortie opened this issue Apr 23, 2024 · 0 comments
Open

Missing pkg-config file doctest.pc #850

mortie opened this issue Apr 23, 2024 · 0 comments

Comments

@mortie
Copy link

mortie commented Apr 23, 2024

Description

I noticed that most packages for doctest include a doctestConfig.cmake file, but lack a doctest.pc file, probably because the install step of doctest's CMakeLists.txt installs the doctestConfig.cmake file but not the doctest.pc file. This means that Doctest from a system package manager can really only be used if you compile your tests with CMake.

For many Linux distros, this isn't a huge problem because doctest.h ends up in /usr/include/doctest and therefore happens to work, since that's in the default search path and it's a header-only library. However, for macOS with Homebrew and certain Linux distros, pkg-config is vital for even finding the header.

Please consider adding a doctest.pc file.

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

No branches or pull requests

1 participant