-
Notifications
You must be signed in to change notification settings - Fork 118
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
Replace NOTICE with STATUS for CMake messages #83
Replace NOTICE with STATUS for CMake messages #83
Conversation
Signed-off-by: Cary Phillips <[email protected]>
config/CMakeLists.txt
Outdated
@@ -57,7 +57,7 @@ if(IMATH_INSTALL_PKG_CONFIG) | |||
endfunction() | |||
imath_pkg_config_help(../Imath.pc.in) | |||
else() | |||
message(NOTICE "-- WARNING pkg-config generation disabled") | |||
message(STATUS "-- WARNING pkg-config generation disabled") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also "WARNING", might it be appropriate here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I think that if you use STATUS, you can remove the "-- " because that's automatically added by status.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only way to get here is by explicitly setting IMATH_INSTALL_PKG_CONFIG=0, so this message is simply confirming what settings have been provided. Warning implies there might be something wrong, which doesn't seem appropriate. Status seems appropriate since it's merely echoing what it's been told.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then why does the message itself say "WARNING"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
N/M, I see you removed that word now
Signed-off-by: Cary Phillips <[email protected]>
Signed-off-by: Cary Phillips [email protected]