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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/mediadevice/mtp
From:       Jeff Mitchell <kde-dev () emailgoeshere ! com>
Date:       2007-09-13 19:48:04
Message-ID: 1189712884.388036.3324.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 712165 by mitchell:

Add some necessary includes


 M  +15 -1     CMakeLists.txt  
 M  +1 -0      mtpmediadevice.cpp  


--- trunk/extragear/multimedia/amarok/src/mediadevice/mtp/CMakeLists.txt #712164:712165
@@ -9,12 +9,26 @@
 
 ########### next target ###############
 
+if(MTP_FOUND)
+    ADD_DEFINITIONS(-DHAVE_MTP)
+    set( mtp_SRCS
+        mtp_backend/pmpkioslave_mtpbackend.cpp
+    )
+    set( mtp_LIBS
+        mtp
+    )
+else(MTP_FOUND)
+    set( mtp_SRCS )
+    set( mtp_LIBS )
+endif(MTP_FOUND)
+
 set(amarok_mtp-mediadevice_PART_SRCS
+    ${mtp_SRCS}
     ${CMAKE_CURRENT_SOURCE_DIR}/mtpmediadevice.cpp )
 
 kde4_add_plugin(amarok_mtp-mediadevice WITH_PREFIX ${amarok_mtp-mediadevice_PART_SRCS})
 
-target_link_libraries(amarok_mtp-mediadevice  ${KDE4_KDECORE_LIBS} )
+target_link_libraries(amarok_mtp-mediadevice  ${KDE4_KDECORE_LIBS} ${mtp_LIBS})
 
 install(TARGETS amarok_mtp-mediadevice DESTINATION ${PLUGIN_INSTALL_DIR})
 
--- trunk/extragear/multimedia/amarok/src/mediadevice/mtp/mtpmediadevice.cpp #712164:712165
@@ -34,6 +34,7 @@
 AMAROK_EXPORT_PLUGIN( MtpMediaDevice )
 
 // Amarok
+#include <atomicstring.h>
 #include <collection/support/MemoryCollection.h>
 #include <debug.h>
 #include <statusbar/statusbar.h>
[prev in list] [next in list] [prev in thread] [next in thread] 

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