Added mariadb to the CMakeLists.txt

This commit is contained in:
Mathias Wagner 2023-10-29 22:30:38 +01:00
parent 8f3e599e6d
commit 95900161b4
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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)