-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Correct CMake Warning Messages - QCustomPlot, QHexEdit #2205
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
Conversation
|
CMake (local using version 3.17.0) would produce the following in build logs: Resolution is to correct case usage as detailed above. |
Correct text case usage in local FindXXX.cmake and CMakeLists.txt files.
During usage, warning messages appear due to differences in file name/library name case.
Resolution is to match file name case with variable name case where it appears in all CMake files.
i.e. file name - QCustomPlot.cmake
variable name QCustomPlot_{LIBRARIES, INCLUDE_DIRS, et al}
Affects CMakeLists.txt and cmake/FindXXX.cmake files.
|
Is this ready to go? If so, lets merge it and see if/what anything breaks in the next nightly builds. 😄 |
|
Yup. Ready to 'rock and roll' |
|
Cool. Thanks @scottfurry. 😄 |
|
@justinclift - This PR wasn't pulled into v3.12.0. |
|
k. Should we add it to the |
|
CMake is complaining for now. I would add it to v3.12.x branch as a prudent measure to head off future bug reports. |
|
No worries. Are you ok to cherry-pick it across? 😄 |
|
I'm comfortable making pull requests but I'm unsure of exact process project uses to manage PR integration. Would you mind doing it for this one, please? |
|
No worries. 😄 The steps for cherry picking the commit from |
Correct text case usage in local FindXXX.cmake and CMakeLists.txt files.
During usage, warning messages appear due to differences in file name/library name case.
Resolution is to match file name case with variable name case where it appears in all CMake files.
i.e. file name - QCustomPlot.cmake
variable name QCustomPlot_{LIBRARIES, INCLUDE_DIRS, et al}
Affects CMakeLists.txt and cmake/FindXXX.cmake files.