summaryrefslogtreecommitdiffstats
path: root/conduits/popmail/CMakeLists.txt
blob: d2c63e96cf6249f3710d4e01dc537a2bd803cad9 (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
41
42
43
include_directories(
	${CMAKE_CURRENT_BINARY_DIR}
)

set(conduit_popmail_SRCS
	popmail-factory.cc
	popmail-conduit.cc
	setupDialog.cc
)

set(conduit_popmail_UIS
	setup-dialog.ui
)

set(conduit_popmail_KCFGS
	popmailSettings.kcfgc
)

kde3_add_kcfg_files(conduit_popmail_SRCS ${conduit_popmail_KCFGS})
trinity_add_ui_files(conduit_popmail_SRCS ${conduit_popmail_UIS})
trinity_automoc(${conduit_popmail_SRCS})
add_library(conduit_popmail SHARED ${conduit_popmail_SRCS})

set_target_properties(
	conduit_popmail PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
	INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
	PREFIX ""
)

trinity_install_libtool_file(conduit_popmail)

install(
	TARGETS conduit_popmail
	LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)

install(
	FILES popmail-conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
)

install(
	FILES popmail.kcfg DESTINATION ${KDE3_KCFG_DIR}
)