Added mariadb to the CMakeLists.txt
This commit is contained in:
parent
8f3e599e6d
commit
95900161b4
@ -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)
|
Loading…
x
Reference in New Issue
Block a user