diff options
Diffstat (limited to 'buffertest/CMakeLists.txt')
-rw-r--r-- | buffertest/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buffertest/CMakeLists.txt b/buffertest/CMakeLists.txt index 9505b75..fd100d0 100644 --- a/buffertest/CMakeLists.txt +++ b/buffertest/CMakeLists.txt | |||
@@ -2,7 +2,10 @@ project(toynadi_buffertest) | |||
2 | 2 | ||
3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
4 | 4 | ||
5 | set(store_path "../store/") | ||
6 | |||
5 | set(toynadinbuffertest_SRCS | 7 | set(toynadinbuffertest_SRCS |
8 | ${store_path}/database.cpp | ||
6 | main.cpp | 9 | main.cpp |
7 | ) | 10 | ) |
8 | 11 | ||
@@ -22,5 +25,6 @@ ADD_CUSTOM_TARGET(generate_buffers ALL DEPENDS ${SCHEMA_SOURCEFILES}) | |||
22 | 25 | ||
23 | add_executable(${PROJECT_NAME} ${toynadinbuffertest_SRCS}) | 26 | add_executable(${PROJECT_NAME} ${toynadinbuffertest_SRCS}) |
24 | qt5_use_modules(${PROJECT_NAME} Core) | 27 | qt5_use_modules(${PROJECT_NAME} Core) |
28 | target_link_libraries(${PROJECT_NAME} lmdb) | ||
25 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) | 29 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) |
26 | 30 | ||