> -----Original Message-----
> From: Peter Kümmel [mailto:[EMAIL PROTECTED]
> Sent: segunda-feira, 15 de Maio de 2006 12:11
> To: [email protected]
> Subject: Re: msvc: makekdewidgets

> > --- FindKDEWIN32.cmake    (revision 540992)
> > +++ FindKDEWIN32.cmake    (working copy)
> > @@ -20,11 +20,11 @@
> >
> >  # at first find the kdewin32 library, this has to be compiled and
> installed before kdelibs/
> >  # search for kdewin32 in the default install directory for applications
> (default of (n)make install)
> > -if (MSVC)
> > +if (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
> >     set(_KDEWIN32_POSTFIX d)
> > -else (MSVC)
> > +else (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
> >     set(_KDEWIN32_POSTFIX )
> > -endif (MSVC)
> > +endif (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
> >
> >  FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32${_KDEWIN32_POSTFIX}
> >    PATHS
> 
> When CMAKE_BUILD_TYPE also switches the CMAKE_DEBUG_POSTFIX macro
> then your patch looks good. 

Yes, I forgot that.

> I'll test it.

Paulo

P.S.: I think the nightly build for tomorrow will have a 0 error msvc build ;)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to