[cmake-developers] Bad error message when a package could not be found - make find_package() not search config files by default

Alexander Neundorf neundorf at kde.org
Fri Feb 17 05:48:25 EST 2012


On Friday 17 February 2012, Alexander Neundorf wrote:
...
> What should be improved:
...
> 2.) CMAKE_PREFIX_PATH should be mentioned
> 
> 1.), 2.) if a version number was used, this should be printed in the error
> message
> 
> 1.) CMAKE_PREFIX_PATH should be mentioned at least.

These three points and a small bug fix (error message was not printed at all 
for an invalid CONFIGS name) are now in the FindPackage_ImprovedErrorMessages 
branch and merged into next.

Alex



More information about the cmake-developers mailing list