[CMake] FindImageMagick Updated in CVS

Miguel A. Figueroa-Villanueva miguelf at ieee.org
Tue Jul 29 11:16:59 EDT 2008


On Tue, Jul 29, 2008 at 5:51 AM, Philip Lowman wrote:
> On Wed, Jul 23, 2008 at 3:06 AM, Miguel A. Figueroa-Villanueva
> <miguelf at ieee.org> wrote:
>>
>> On Sat, Jul 19, 2008 at 12:29 AM, Philip Lowman wrote:
>> > On Sat, Jul 19, 2008 at 1:18 AM, Miguel A. Figueroa-Villanueva
>> > <miguelf at ieee.org> wrote:
>> >>
>> >> On Fri, Jul 18, 2008 at 11:06 PM, Philip Lowman wrote:
>> >> > I'd like to seek approval to have the following CMake find modules
>> >> > added
>> >> > to
>> >> > CMake.  Both are to work with popular pieces of software and I
>> >> > happily
>> >> > volunteer myself to maintain the modules.
>> >> >
>> >> > Magick (ImageMagick libraries)
>> >> > http://public.kitware.com/Bug/view.php?id=6400
>> >>
>> >> I think rather than having two modules (i.e., FindImageMagick and
>> >> FindMagick) we should have one
>> >
>> > Your approach seems fine to me.
>> >
>> >> What platforms have you used ImageMagick devel files in? Are you
>> >> familiar with how it is installed in platforms other than yours?
>> >
>> > I've only ever used Magick and Magick++ on Linux and MSVC/Windows.  I
>> > tested
>> > the module on Debian/Ubuntu but I believe it should work with most Linux
>> > distributions that package ImageMagick development libraries.  On Win32
>> > I
>> > tested it against the ImageMagick installer which comes with an option
>> > for
>> > installing MSVC compiled development libraries & headers.
>>
>> For those interested in FindImageMagick, I have updated the module in cvs:
>>
>> /cvsroot/CMake/CMake/Modules/FindImageMagick.cmake,v <--
>> FindImageMagick.cmake
>> new revision: 1.5; previous revision: 1.4
>>
>> It resolves the following issues:
>>
>> ENH: Updated FindImageMagick to:
>> - Find newer additions such as animate, compare, etc.
>> - Find development api: Magick++, MagickCore, MagickWand
>> - Use FindPackageHandleStandardArgs to output standard messages.
>>
>> You can access it quickly at:
>>
>>
>> http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/FindImageMagick.cmake?root=CMake&view=markup
>>
>> Comments welcome and testers appreciated.
>
> Miguel,
>
> I tested out the development api components on GCC/Ubuntu8.04 and MSVC/Win32
> and it worked wonderfully.  Thanks very much for fixing this.
>
> The only issue I uncovered during testing was in the documentation for the
> module.  I believe line 32 should read MagickCore.
>  28 # There are also components for the following ImageMagick APIs:
>  29 #
>  30 #  Magick++
>  31 #  MagickWand
>  32 #  Magick

Yes, it should be MagickCore... I'll apply this change.

Thanks for the report and for testing.

--Miguel


More information about the CMake mailing list