~ubuntu-branches/ubuntu/hardy/kdebase-workspace/hardy-backports

« back to all changes in this revision

Viewing changes to kcontrol/infocenter/nics/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-05-02 23:57:34 UTC
  • mfrom: (1.2.1 upstream) (20.1.22 hardy)
  • Revision ID: james.westby@ubuntu.com-20080502235734-kwrykz4qcvunwqf4
Tags: 4:4.0.4-0ubuntu1~hardy1
* New upstream release (LP: #225994)
* Updated control file (LP: #220655)
* Updated install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
include(CheckStructMember)
3
 
 
4
 
check_include_files(sys/sockio.h HAVE_SYS_SOCKIO_H) # nic.cpp
5
 
check_symbol_exists(getnameinfo   "sys/socket.h;netdb.h" HAVE_GETNAMEINFO) # nic.cpp
6
 
check_struct_member("struct sockaddr" "sa_len" "sys/socket.h" HAVE_STRUCT_SOCKADDR_SA_LEN) # nic.cpp
7
 
check_function_exists(getifaddrs  HAVE_GETIFADDRS)  # nic.cpp
8
 
 
9
 
configure_file (config-nic.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-nic.h )
10
 
 
11
 
 
12
 
 
13
 
########### next target ###############
14
 
 
15
 
set(kcm_nic_PART_SRCS nic.cpp )
16
 
 
17
 
 
18
 
kde4_add_plugin(kcm_nic ${kcm_nic_PART_SRCS})
19
 
 
20
 
 
21
 
target_link_libraries(kcm_nic  ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} )
22
 
 
23
 
install(TARGETS kcm_nic  DESTINATION ${PLUGIN_INSTALL_DIR} )
24
 
 
25
 
 
26
 
########### install files ###############
27
 
 
28
 
install( FILES nic.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
29