~mzanetti/unity8/fade-out-launcher

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Payments/CMakeLists.txt

  • Committer: Michael Zanetti
  • Date: 2014-07-08 10:15:46 UTC
  • mfrom: (977.1.35 unity8)
  • Revision ID: michael.zanetti@canonical.com-20140708101546-01dbieenbk9123il
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(
 
2
    ${CMAKE_CURRENT_SOURCE_DIR}
 
3
    ${CMAKE_CURRENT_BINARY_DIR}
 
4
)
 
5
 
 
6
set(PAYMENTS_SOURCES
 
7
    plugin.cpp
 
8
    Payments.cpp
 
9
)
 
10
 
 
11
add_library(Payments MODULE ${PAYMENTS_SOURCES})
 
12
 
 
13
qt5_use_modules(Payments Qml Quick DBus Core)
 
14
 
 
15
add_unity8_plugin(Ubuntu.Payments 0.1 Ubuntu/Payments TARGETS Payments)
 
16
 
 
17
pkg_check_modules(LIBPAY REQUIRED pay-1)
 
18
add_definitions(${LIBPAY_CFLAGS} ${LIBPAY_CFLAGS_OTHER})
 
19
 
 
20
target_link_libraries(Payments ${LIBPAY_LDFLAGS})