Suppress some CMake dev warnings for lower message log levels#6228
Merged
jhendersonHDF merged 1 commit intoHDFGroup:developfrom Feb 23, 2026
Merged
Conversation
jhendersonHDF
commented
Feb 20, 2026
| if (num_configs GREATER "1") | ||
| message (AUTHOR_WARNING "Cannot generate pkg-config files correctly for multi-config generators") | ||
| if (show_dev_warnings) | ||
| message (AUTHOR_WARNING "Cannot generate pkg-config files correctly for multi-config generators") |
Collaborator
Author
There was a problem hiding this comment.
AUTHOR_WARNING (dev warning) messages appear to always be printed during CMake configure and quite a few get printed now when building with other libraries like filters. They're highlighting a real problem that needs to be fixed eventually but won't be of interest to most people, so suppress them behind VERBOSE or DEBUG log levels.
brtnfld
approved these changes
Feb 20, 2026
mattjala
approved these changes
Feb 23, 2026
jhendersonHDF
added a commit
to jhendersonHDF/hdf5
that referenced
this pull request
Feb 23, 2026
Closed
lrknox
pushed a commit
that referenced
this pull request
Feb 24, 2026
brtnfld
pushed a commit
to brtnfld/hdf5
that referenced
this pull request
Mar 18, 2026
brtnfld
pushed a commit
to brtnfld/hdf5
that referenced
this pull request
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Suppresses developer warnings in
HDF5Pkgconfig.cmakeunless logging level is VERBOSE or DEBUG, using a newshow_dev_warningsflag.extract_lib_pkgconfig_infoinHDF5Pkgconfig.cmakeunless logging level is VERBOSE or DEBUG.show_dev_warningsflag.show_dev_warningsflag based oncmake_msg_log_level.message(AUTHOR_WARNING)calls for multi-config generators, generator expressions, and library name issues.This description was created by
for 52cbd3b. You can customize this summary. It will automatically update as commits are pushed.