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

List:       kde-devel
Subject:    [PATCH] trunk kdepim CMakeLists.txt
From:       "Anselmo Lacerda S. de Melo" <anselmolsm () gmail ! com>
Date:       2008-07-22 3:41:46
Message-ID: d1e07b280807212041w7acdf835k3e1d1d9ac2b2cc0c () mail ! gmail ! com
[Download RAW message or body]

A small patch. It applies to trunk -
KDE/kdepim/kode/common/CMakeLists.txt . I made it in order to fix the
error:

CMake Error at /opt/kde-trunk/share/apps/cmake/modules/KDE4Macros.cmake:1141
(message):
  _KDE4_TARGET_LINK_INTERFACE_LIBRARIES() doesn't exist anymore.  Set
the
  LINK_INTERFACE_LIBRARIES target property instead.  See
  kdelibs/kdecore/CMakeLists.txt for an example.
Call Stack (most recent call first):
  kode/common/CMakeLists.txt:19 (_kde4_target_link_interface_libraries)


With this modification I could compile kdepim.


Anselmo

["kdepim.diff" (text/x-diff)]

Index: KDE/kdepim/kode/common/CMakeLists.txt
===================================================================
--- KDE/kdepim/kode/common/CMakeLists.txt	(revision 836275)
+++ KDE/kdepim/kode/common/CMakeLists.txt	(working copy)
@@ -16,7 +16,10 @@
 
 target_link_libraries(kxmlcommon  ${KDE4_KIO_LIBS} )
 
-_kde4_target_link_interface_libraries(kxmlcommon ${QT_QTXML_LIBRARY} \
${QT_QTCORE_LIBRARY}) +set_target_properties(kxmlcommon PROPERTIES 
+								 VERSION ${GENERIC_LIB_VERSION} 
+								 SOVERSION ${GENERIC_LIB_SOVERSION}
+								 ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES \
"${QT_QTXML_LIBRARY};${QT_QTCORE_LIBRARY}" +								 )
 
-set_target_properties(kxmlcommon PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION \
${GENERIC_LIB_SOVERSION} )  install(TARGETS kxmlcommon  DESTINATION \
${LIB_INSTALL_DIR})



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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