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

Installed package is noisy when found by CMake #593

Closed
ulfllorenz opened this issue Jun 23, 2022 · 0 comments · Fixed by #701
Closed

Installed package is noisy when found by CMake #593

ulfllorenz opened this issue Jun 23, 2022 · 0 comments · Fixed by #701
Assignees
Labels
cmake Anything build-system (CMake) related. enhancement good first issue Good for newcomers

Comments

@ulfllorenz
Copy link

This issue is more annoying than a problem, but should also be easy to fix.

In CMake, you can give the QUIET option to find_package() to suppress output. We use that to keep our CMake build free from informative, but (for our developers largely) useless messages.

HighFive is one of the few exceptions, it always prints the line with "(Re)Detecting Highfive dependencies". The generic way would be to evaluate "_FIND_QUIETLY", which should tell you if the user requested a quiet finding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Anything build-system (CMake) related. enhancement good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants