not working lmdb

This commit is contained in:
Blue 2019-04-16 01:35:09 +03:00
parent e04f7db7c2
commit 0b4714688f
7 changed files with 323 additions and 25 deletions

View file

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(squawkCORE)
# Instruct CMake to run moc automatically when needed.
set (CMAKE_CXX_STANDARD 17)
set(CMAKE_AUTOMOC ON)
find_package(Qt5Widgets CONFIG REQUIRED)
@ -10,6 +11,7 @@ find_package(Qt5Network CONFIG REQUIRED)
set(squawkCORE_SRC
squawk.cpp
account.cpp
archive.cpp
)
# Tell CMake to create the helloworld executable
@ -19,6 +21,7 @@ add_library(squawkCORE ${squawkCORE_SRC})
target_link_libraries(squawkCORE Qt5::Core)
target_link_libraries(squawkCORE Qt5::Network)
target_link_libraries(squawkCORE qxmpp)
target_link_libraries(squawkCORE lmdb)
# Install the executable
install(TARGETS squawkCORE DESTINATION lib)