summaryrefslogtreecommitdiffstats
path: root/KMFIPTInterface/CMakeLists.txt
blob: 43514ea16910cc7a8463674504d43ffb559367c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/kmyfirewall
  ${CMAKE_BINARY_DIR}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${IPTC_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### configure checks

tde_message_fatal(
  "KMFIPTInterface is not ready for building and probably would not be functional"
  "after the change iptables => xtables in Linux kernel."
)

include( ConfigureChecks.cmake )


##### kmfiptinterface (executable)

tde_add_executable( kmfiptinterface AUTOMOC
  SOURCES main.cpp kmfiptinterface.cpp iptchecker.cpp kmfiptinterface.skel
  LINK tdeio-shared DCOP-shared ${IPTC_LIBRARIES}
  DESTINATION ${BIN_INSTALL_DIR}
)


##### other data

tde_create_translated_desktop(
  SOURCE kmfiptinterface.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)