FINDKDE4 win32

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Fri May 5 11:18:25 CEST 2006


> -----Original Message-----
> From: David Faure [mailto:faure at kde.org]
> Sent: quinta-feira, 4 de Maio de 2006 18:13
> To: kde-buildsystem at kde.org
> Subject: Re: FINDKDE4 win32
> 
> On Thursday 04 May 2006 19:03, Paulo Jorge Guedes wrote:
> > +   if (!WIN32)
> > +      find_library(KDE4_KDESU_LIBRARY NAMES kdesu PATHS
> > ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
> > +      set(KDE4_KDESU_LIBS ${kdesu_LIB_DEPENDS} ${KDE4_KDESU_LIBRARY} )
> > +   endif (!WIN32)
> 
> I would even say if(UNIX) since the notion of "su"ing is very unix-like.
> Not that I have a non-windows non-unix case in mind right now to find out
> what's best ;)
> 
> Anyway never use WIN32 for such things, since WIN64 exists too.

There is if (WIN32) all over the code though :(

What sould one use, (WIN32 || WIN64)?

Paulo


More information about the Kde-buildsystem mailing list