1
0
forked from blue/pica
pica/database/mysql/CMakeLists.txt

18 lines
275 B
CMake

set(HEADERS
mysql.h
statement.h
transaction.h
)
set(SOURCES
mysql.cpp
statement.cpp
transaction.cpp
)
find_package(MariaDB REQUIRED)
target_sources(${PROJECT_NAME} PRIVATE ${SOURCES})
target_link_libraries(${PROJECT_NAME} PRIVATE MariaDB::client)