[cmake-developers] FindImageMagick.cmake backwards compatibility

Alexander Neundorf neundorf at kde.org
Thu Feb 9 15:47:11 EST 2012


On Monday 30 January 2012, David Cole wrote:
...
> From your original post:
> 
>   "So when ImageMagick is installed everything behaves as always. But if no
>   ImageMagick is installed behaviour was this:
> 
>   find_package(ImageMagick) -> ImageMagick_FOUND = TRUE"
> 
> This is simply clearly incorrect, and is one of those changes that
> deserves to have its backwards compatibility broken.
> 
> If I were a client of this module, and I had logic that really
> depended on ImageMagick being found, then it would be broken already
> in some other way anyhow.
> 
> I would rather have ImageMagick_FOUND be set correctly than have it be
> set "incorrectly but the same as the last version of CMake."

Same for me.

Alex



More information about the cmake-developers mailing list