blob: 075a65e13ebffb3fce2d527f946f5f7f581b1617 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src/libs/jpegutils
)
set( SQLITE3_LIBRARIES "" )
if( WITH_SQLITE3 )
include_directories( ${CMAKE_SOURCE_DIR}/src/libs/sqlite3 )
list( APPEND SQLITE3_LIBRARIES "sqlite3-static" )
endif( )
##### tdeio modules (kparts)
tde_add_kpart( tdeio_digikamthumbnail AUTOMOC
SOURCES digikamthumbnail.cpp
LINK dimg-static jpegutils-static tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
tde_add_kpart( tdeio_digikamtags AUTOMOC
SOURCES digikamtags.cpp sqlitedb.cpp
LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
tde_add_kpart( tdeio_digikamalbums AUTOMOC
SOURCES digikamalbums.cpp sqlitedb.cpp
LINK
dmetadata-static tdecore-shared tdeio-shared
${SQLITE3_LIBRARIES} ${KDCRAW_LIBRARIES} ${KEXIV2_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
tde_add_kpart( tdeio_digikamdates AUTOMOC
SOURCES digikamdates.cpp sqlitedb.cpp
LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
tde_add_kpart( tdeio_digikamsearch AUTOMOC
SOURCES digikamsearch.cpp sqlitedb.cpp
LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other files
tde_create_translated_desktop(
SOURCE
digikamthumbnail.protocol digikamtags.protocol digikamalbums.protocol
digikamdates.protocol digikamsearch.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
)
|