[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Current kdelibs linker error
From:       Ralf Habacker <ralf.habacker () freenet ! de>
Date:       2008-07-22 12:25:38
Message-ID: 4885D1C2.20609 () freenet ! de
[Download RAW message or body]

Carlo schrieb:
> 2008/7/22 Christian Ehrlicher <Ch.Ehrlicher@gmx.de>:
>   
>> Hi,
>>
>> Since today I get linker errors in kdelibs due to missing kdewin32 library.
>> cmake found it and kdecore is linking against it.
>>
>> Maybe kdecore_OPTIONAL_LIBS is not added to the cache anymore?
>>
>> Thx,
>> Christian
>>     
>
> So it's not just my problem, saroengels told me to add
> ${KDE4_KDECORE_LIBS} and it seems to works, kross instead needs
> ${KDE4_KDEUI_LIBS}
>   
There are more targets broken - I fixed this general with the appended 
patch.

If there is no better solution i would check this in.

Ralf

> _______________________________________________
> Kde-windows mailing list
> Kde-windows@kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>   


["kdewin32-fix.patch" (text/plain)]

Index: FindKDE4Internal.cmake
===================================================================
--- FindKDE4Internal.cmake	(revision 836474)
+++ FindKDE4Internal.cmake	(working copy)
@@ -739,6 +739,8 @@
    # limit win32 packaging to kdelibs at now 
    # don't know if package name, version and notes are always available 
    if(_kdeBootStrapping)
+      set(KDE4_KDECORE_LIBS ${KDE4_KDECORE_LIBS} ${KDEWIN32_LIBRARIES})
+      set(KDE4_KDEUI_LIBS ${KDE4_KDEUI_LIBS} ${KDEWIN32_LIBRARIES})
       find_package(KDEWIN_Packager)
       if (KDEWIN_PACKAGER_FOUND)
          kdewin_packager("kdelibs" "${KDE_VERSION}" "KDE base library" "")


_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic