-
Notifications
You must be signed in to change notification settings - Fork 759
Add libpng:: namespace #381
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
base: libpng16
Are you sure you want to change the base?
Conversation
ctruta
left a comment
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.
Thank you, Hendrik, for your contribution.
Could you please add your full name at the top of the CMakeLists.txt file, near the names of the other contributors?
Could you please also amend your commit so that your full name appears in the Author and Committer field?
As a general rule, I would like all future libpng contributors to include their full names, for copyright purposes.
1379c15 to
f6c89ec
Compare
|
Regarding your new general rule, I'm not very happy that I am forced to expose my full name in public. Also I don't see any reason adding names to files because that's the whole reason why we have git. Nevertheless, since I would like to finally get this merged, I implemented your requested changes. In addition, I rebased to the latest |
|
@ctruta probably we can improve CMake packaging see #475 too. At the moment the standard FindPNG Module can't properly find headers because it expects them in |
|
@h3ndrk @theta682 I'm very sorry for not fully understanding the compatibility implications of your PR. I wish I knew more about CMake than I actually do. I specifically could not understand what will happen if I changed the namespace, from the global one, to @bebuch FYI ^ |
|
@ctruta How shall we proceed? Should I rename the prefix to |
|
I'm a bit confused: there is already a |
This PR adds a
libpng::namespace toCMakeLists.txt. I'm pasting/quoting the answer of https://stackoverflow.com/a/48526017:The cmake-developer documentation gives the following advice on namespaces:
And the CMP0028 policy documentation says on the "common pattern" in the use of namespaces: