FINDKDE4 win32

David Faure faure at kde.org
Thu May 4 19:13:27 CEST 2006


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.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list