summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 3baf6b6..8e8af1f 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -3,6 +3,7 @@ generate_flatbuffers(commands/handshake
3 commands/revisionupdate) 3 commands/revisionupdate)
4 4
5if (STORAGE_unqlite) 5if (STORAGE_unqlite)
6 add_definitions(-DUNQLITE_ENABLE_THREADS)
6 set(storage_SRCS storage_unqlite.cpp unqlite/*c) 7 set(storage_SRCS storage_unqlite.cpp unqlite/*c)
7else (STORAGE_KYOTO) 8else (STORAGE_KYOTO)
8 set(storage_SRCS storage_lmdb.cpp) 9 set(storage_SRCS storage_lmdb.cpp)
@@ -10,10 +11,10 @@ else (STORAGE_KYOTO)
10endif (STORAGE_KYOTO) 11endif (STORAGE_KYOTO)
11 12
12set(command_SRCS 13set(command_SRCS
13 commands.cpp 14 commands.cpp
14 console.cpp 15 console.cpp
15 storage_common.cpp 16 storage_common.cpp
16 ${storage_SRCS}) 17 ${storage_SRCS})
17 18
18add_library(${PROJECT_NAME} ${command_SRCS}) 19add_library(${PROJECT_NAME} ${command_SRCS})
19SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) 20SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)