From 95900161b40194308ec4bf2b9a4f5e6e622ed57c Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 29 Oct 2023 22:30:38 +0100 Subject: [PATCH] Added mariadb to the CMakeLists.txt --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aedd2e0..3a02531 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,10 @@ include_directories(src) find_package(dpp REQUIRED) +add_library(mariadbcpp STATIC IMPORTED) +set_property(TARGET mariadbcpp PROPERTY IMPORTED_LOCATION "/usr/lib/libmariadbcpp.so") + add_executable(Bot src/main.cpp ${SRC_FILES}) target_link_libraries(Bot dpp) +target_link_libraries(Bot mariadbcpp) \ No newline at end of file