[CMake] how to write cmake file for ImageMagick package?
Filipe Sousa
filipe at ipb.pt
Mon Jun 12 08:56:00 EDT 2006
kdsfinger at gmail.com wrote:
> On 6/12/06, Jan Woetzel <jw at mip.informatik.uni-kiel.de> wrote:
>
> Thanks, Jan.
> The FindImageMagick.cmake I wrote was put in the
> /usr/local/share/CMake/Modules/
> I now copyed yours and put it there, but when I do ccmake . ,it gives the
> following error message:
I'm guessing you don't have FIND_PACKAGE(ImageMagick) in your
CMakeLists.txt to use FindImageMagick.cmake
> CMake Error: IMAGEMAGICKLIB_DIR is not set. It must be set to the
> directory containing IMAGEMAGICKLIBConfig.cmake in order to use
> IMAGEMAGICKLIB.
>
> CMake Error: You have requested backwards compatibility with CMake version
> 1.2 or earlier. This version of CMake only supports backwards
> compatibility with CMake 1.4 or later. For compatibility with 1.2 or
> earlier please use CMake 2.0
>
> As I said, I don't have any file named IMAGEMAGICKLIBConfig.cmake any where
> in my system, should I create such a file? How? Thanks a lot.
--
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/d7933ff5/signature.pgp
More information about the CMake
mailing list