Re: [AD] SF.net SVN: alleg:[10863]?allegro/branches/4.9/addons/iio/CMakeLists.txt

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Saturday 20 September 2008, Peter Wang wrote:
> On 2008-09-20, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > I'm having issues with png and zlib under mingw as well. It detects
> > mostly everything, but not libpng or zlib without me forcing it to look
> > in the dir I installed it in (mingw's dir actually, so it should have
> > been found).
> >
> > I think it may be an issue with CMake's FindPNG and FindZLIB macros.
>
> I've committed a patch to deduce the MinGW directory automatically from
> the path to gcc, and to make CMake search in $MINGDIR/{include,lib},
> by default.  You should only need to have $MINGDIR/bin in your PATH.
> See if that works.
>
> Peter
>

Seems to have worked, with and without MINGDIR set. :)

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/