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

Jan Woetzel jw at mip.informatik.uni-kiel.de
Mon Jun 12 10:38:07 EDT 2006


kdsfinger at gmail.com wrote:

> 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

Your problem is not about finding the libs.
It is about cmake (not) finding the "FindImageMagicklib.cmake" find script.

Please have a look at this *working* example and run it:
http://www.mip.informatik.uni-kiel.de/~jw/cmake/hellomagick.zip

Just tested with 2.4.2

Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4054
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list