summaryrefslogtreecommitdiffstats
path: root/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'common/CMakeLists.txt')
-rw-r--r--common/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index ec13e07..1a9a812 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -8,7 +8,7 @@ generate_flatbuffers(
8 commands/modifyentity 8 commands/modifyentity
9 commands/revisionupdate 9 commands/revisionupdate
10 domain/event 10 domain/event
11 entitybuffer 11 entity
12 metadata 12 metadata
13) 13)
14 14
@@ -17,10 +17,11 @@ if (STORAGE_unqlite)
17 set(storage_SRCS unqlite/unqlite.c storage_unqlite.cpp) 17 set(storage_SRCS unqlite/unqlite.c storage_unqlite.cpp)
18else (STORAGE_unqlite) 18else (STORAGE_unqlite)
19 set(storage_SRCS storage_lmdb.cpp) 19 set(storage_SRCS storage_lmdb.cpp)
20 set(storage_LIBS lmdb) 20 set(storage_LIBS ${lmdb})
21endif (STORAGE_unqlite) 21endif (STORAGE_unqlite)
22 22
23set(command_SRCS 23set(command_SRCS
24 entitybuffer.cpp
24 clientapi.cpp 25 clientapi.cpp
25 commands.cpp 26 commands.cpp
26 console.cpp 27 console.cpp
@@ -35,7 +36,7 @@ add_library(${PROJECT_NAME} SHARED ${command_SRCS})
35generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h) 36generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h)
36SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) 37SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
37qt5_use_modules(${PROJECT_NAME} Widgets Network) 38qt5_use_modules(${PROJECT_NAME} Widgets Network)
38target_link_libraries(${PROJECT_NAME} ${storage_LIBS}) 39target_link_libraries(${PROJECT_NAME} ${storage_LIBS} akonadi2async)
39install(TARGETS ${PROJECT_NAME} DESTINATION lib) 40install(TARGETS ${PROJECT_NAME} DESTINATION lib)
40 41
41add_subdirectory(test) 42add_subdirectory(test)