Bug report #18918
Improve CMake error messages when libraries are missing.
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
I am just building QGIS from scratch and noticed that while some libraries are included in the cmake files using FIND_LIBRARY, others are not. When those libraries are missing, the only error one gets is something like:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
I have noticed this is the case for the following libraries:
I would expect to get something like library xy not found.
This would make it easier to build the project. I thought at first that I misconfigured something until I found out it were the libraries missing.
I hope I could help you with my feedback.