FINDKDE4 win32

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Thu May 4 19:03:22 CEST 2006


> -----Original Message-----
> From: David Faure [mailto:faure at kde.org]
> Sent: quinta-feira, 4 de Maio de 2006 17:18
> To: kde-buildsystem at kde.org
> Subject: Re: FINDKDE4 win32
> 
> On Thursday 04 May 2006 17:20, Paulo Jorge Guedes wrote:
> > Hi,
> >
> > KDE4 libraries and dcopidl preprocessor are not being found here.
> > This is a known problem or something with my setup?
> 
> Works on linux, so I think you have to investigate what's happening on
> win32.

Ok.
For example, kdesu isn't supposed to be used on windows. Can I apply
this patch:

--- FindKDE4Internal.cmake    (revision 537383) 
+++ FindKDE4Internal.cmake    (working copy) 
@@ -366,8 +366,10 @@
    find_library(KDE4_KSPELL2_LIBRARY NAMES kspell2 PATHS
${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
    set(KDE4_KSPELL2_LIBS ${kspell2_LIB_DEPENDS} ${KDE4_KSPELL2_LIBRARY}
)
 
-   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} ) 
+   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) 
 
    find_library(KDE4_KDNSSD_LIBRARY NAMES kdnssd PATHS
${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
    set(KDE4_KDNSSD_LIBS ${kdnssd_LIB_DEPENDS} ${KDE4_KDNSSD_LIBRARY} )

Paulo


More information about the Kde-buildsystem mailing list