[CMake] how to write cmake file for ImageMagick package?

Filipe Sousa filipe at ipb.pt
Mon Jun 12 10:36:15 EDT 2006


kdsfinger at gmail.com wrote:
> On 6/12/06, Jan Woetzel <jw at mip.informatik.uni-kiel.de> wrote:
> I tried FIND_PACKAGE(ImageMagickLib) and got this:
> 
>  CMake Error: ImageMagickLib_DIR is set to "/usr/local/include", which is
> not a directory containing ImageMagickLibConfig.cmake
> 
> If using FIND_PACKAGE(IMAGEMAGICKLIB) I got this:
> 
> CMake Error: IMAGEMAGICKLIB_DIR is set to "/usr/local/include", which is not
> a directory containing IMAGEMAGICKLIBConfig.cmake
> 
> Both "ImageMagick" and "IMAGEMAGICK" give similar error message as above.
> 
> I installed the newest imagemagick package as root. The Magick++.h and the
> folders of magick, Magick++ and wand are located in /usr/local/include

Remove your cache file (CMakeCache.txt) and try again


-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060612/8837d6b0/signature.pgp


More information about the CMake mailing list