~ubuntu-branches/ubuntu/precise/knemo/precise

« back to all changes in this revision

Viewing changes to src/knemod/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-01-06 17:16:51 UTC
  • mfrom: (1.1.9 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100106171651-ff58ryfnav4l1zbm
Tags: 0.6.0-1
* New upstream release 
  - Fixes "FTBFS: sysbackend.cpp:362: error: 'KILO' was not declared in
  this scope" (Closes: #560496)
  - Fixes "context menu does not appear" (Closes: #504791)
* Add Build-Depends: libnl-dev - Linux netlink sockets library

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    main.cpp
5
5
    interface.cpp
6
6
    interfaceicon.cpp
7
 
    interfacemonitor.cpp
8
7
    interfaceplotterdialog.cpp
9
8
    interfacestatistics.cpp
10
9
    interfacestatisticsdialog.cpp
11
10
    interfacestatusdialog.cpp
12
11
    interfacetray.cpp
13
12
    knemodaemon.cpp
 
13
    plotterconfigdialog.cpp
14
14
    signalplotter.cpp
15
15
    backends/backendbase.cpp
16
 
    backends/nettoolsbackend.cpp
17
 
    backends/sysbackend.cpp
 
16
    ../common/utils.cpp
18
17
)
19
18
 
20
 
kde4_add_ui_files( knemo_SRCS interfacestatisticsdlg.ui interfacestatusdlg.ui )
 
19
if ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
 
20
    set( knemo_SRCS ${knemo_SRCS} backends/netlinkbackend.cpp )
 
21
else ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
 
22
    set( knemo_SRCS ${knemo_SRCS} backends/bsdbackend.cpp )
 
23
endif ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
 
24
 
 
25
kde4_add_ui_files( knemo_SRCS interfacestatisticsdlg.ui interfacestatusdlg.ui plotterconfigdlg.ui )
21
26
kde4_add_executable( knemo ${knemo_SRCS} )
22
27
 
23
 
target_link_libraries( knemo ${KDE4_KIO_LIBS} ${LIBIW_LIBRARY} )
 
28
target_link_libraries( knemo ${LIBKNOTIFICATIONITEM-1_LIBRARIES} ${KDE4_KIO_LIBS} ${LIBIW_LIBRARIES} ${LIBNL_LIBRARIES} )
24
29
 
25
 
install( TARGETS knemo DESTINATION ${BIN_INSTALL_DIR} )
 
30
install( TARGETS knemo ${INSTALL_TARGETS_DEFAULT_ARGS} )
26
31
 
27
32
install( FILES knemo.notifyrc DESTINATION ${DATA_INSTALL_DIR}/knemo )
28
33
install( FILES knemo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
29
34
install( FILES knemo.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
30
35
 
31
36
add_subdirectory( icons )
32
 
add_subdirectory( pics )
 
37
add_subdirectory( themes )