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

Replace NOTICE with STATUS for CMake messages #83

Merged
merged 3 commits into from
Feb 1, 2021

Conversation

cary-ilm
Copy link
Member

Signed-off-by: Cary Phillips [email protected]

@@ -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")
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Member Author

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.

Copy link
Contributor

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"?

Copy link
Contributor

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

@cary-ilm cary-ilm merged commit c161fcf into AcademySoftwareFoundation:master Feb 1, 2021
@cary-ilm cary-ilm deleted the cmake-notice branch May 7, 2021 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants