blob: 9b3f7774a7de449b23feebe31569149d1d68e4d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
project(akonadinextcommon)
generate_flatbuffers(commands/handshake
commands/revisionupdate)
if (STORAGE_KYOTO)
set(storage_SRCS storage_kyoto.cpp)
set(storage_LIBS kyotocabinet)
else (STORAGE_KYOTO)
set(storage_SRCS storage_lmdb.cpp)
set(storage_LIBS lmdb)
endif (STORAGE_KYOTO)
set(command_SRCS
commands.cpp
console.cpp
${storage_SRCS})
add_library(${PROJECT_NAME} ${command_SRCS})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
qt5_use_modules(${PROJECT_NAME} Widgets)
target_link_libraries(${PROJECT_NAME} ${storage_LIBS})
|