~phablet-team/telephony-service/rtm-15.04

« back to all changes in this revision

Viewing changes to TelephonyApp/CMakeLists.txt

  • Committer: Gustavo Pichorim Boiko
  • Date: 2012-06-08 21:50:34 UTC
  • mto: This revision was merged to the branch mainline in revision 147.
  • Revision ID: boiko@canonical.com-20120608215034-eylefciy1lls6rtr
Find the QtMobility contacts module and add it to the linking

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# QML plugin
2
2
 
3
 
set(plugin_SRCS components.cpp channelhandler.cpp chatmanager.cpp telepathyhelper.cpp)
4
 
set(plugin_HDRS components.h channelhandler.h chatmanager.h telepathyhelper.h)
 
3
set(plugin_SRCS calllogmodel.cpp components.cpp channelhandler.cpp chatmanager.cpp telepathyhelper.cpp)
 
4
set(plugin_HDRS calllogmodel.h components.h channelhandler.h chatmanager.h telepathyhelper.h)
5
5
 
6
6
qt4_wrap_cpp(plugin_MOC_SRCS ${plugin_HDRS})
7
7
 
8
8
include_directories(
9
9
    ${QT_INCLUDE_DIR}
10
 
    ${TP_QT4_INCLUDE_DIRS})
 
10
    ${QTMOBILITY_CONTACTS_INCLUDE_DIR}
 
11
    ${QTMOBILITY_INCLUDE_DIR}
 
12
    ${TP_QT4_INCLUDE_DIRS}
 
13
    ${TPL_QT4_INCLUDE_DIRS}
 
14
    )
11
15
 
12
16
add_library(telephony-qml SHARED ${plugin_SRCS} ${plugin_HDRS} ${plugin_MOC_SRCS})
13
17
 
14
18
target_link_libraries(telephony-qml
15
19
    ${QT_QTCORE_LIBRARIES}
16
20
    ${QT_QTDECLARATIVE_LIBRARIES}
17
 
    ${TP_QT4_LIBRARIES})
 
21
    ${QTMOBILITY_CONTACTS_LIBRARY}
 
22
    ${TP_QT4_LIBRARIES}
 
23
    ${TPL_QT4_LIBRARIES}
 
24
    )
18
25
 
19
26
set(PLUGIN_DIR ${QT_IMPORTS_DIR}/TelephonyApp)
20
27
install(TARGETS telephony-qml DESTINATION ${PLUGIN_DIR})