On 6/12/06, Filipe Sousa <[EMAIL PROTECTED]> wrote:
I do have FIND_PACKAGE(IMAGEMAGICK) in the CMakeLists.txt. I guess for the compatible problem, I have to use all capitals. I also tried IMAGEMAGICKLIB, doesn't work. The cmake sees the FindImageMagick.cmake since each time I change the content of that file, the cmake gives different error messages.
[EMAIL PROTECTED] wrote:
> On 6/12/06, Jan Woetzel <[EMAIL PROTECTED]> 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
I do have FIND_PACKAGE(IMAGEMAGICK) in the CMakeLists.txt. I guess for the compatible problem, I have to use all capitals. I also tried IMAGEMAGICKLIB, doesn't work. The cmake sees the FindImageMagick.cmake since each time I change the content of that file, the cmake gives different error messages.
> 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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
