Correct CMake Warning Messages - QCustomPlot, QHexEdit#2205
Correct CMake Warning Messages - QCustomPlot, QHexEdit#2205justinclift merged 1 commit intosqlitebrowser:masterfrom scottfurry:cmake_fix
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.