[CMake] ImageMagick Not Found with CMake

Brad King brad.king at kitware.com
Wed Jul 6 11:07:58 EDT 2016


On 07/05/2016 03:59 PM, Gonzalo wrote:
> El 05/07/16 a las 15:05, Richard Kralik escribió:
>> Why can FindImageMagick not find convert and mogrify?
> My guess. Because they are in /usr/local/bin and cmake does not check that.
> 
> Call cmake with your standard options plus:
> 
> -DImageMagick_EXECUTABLE_DIR=/usr/local/bin

That should be searched by find_program but FindImageMagick is incorrectly
using find_path for it instead.  I've re-opened the associated issue:

 https://gitlab.kitware.com/cmake/cmake/issues/16179

-Brad



More information about the CMake mailing list