pica/database/mysql/CMakeLists.txt

18 lines
275 B
CMake
Raw Normal View History

2023-12-07 20:32:43 +00:00
set(HEADERS
mysql.h
2023-12-08 22:26:16 +00:00
statement.h
2023-12-20 22:42:13 +00:00
transaction.h
2023-12-07 20:32:43 +00:00
)
set(SOURCES
mysql.cpp
2023-12-08 22:26:16 +00:00
statement.cpp
2023-12-20 22:42:13 +00:00
transaction.cpp
2023-12-07 20:32:43 +00:00
)
find_package(MariaDB REQUIRED)
2023-12-11 23:29:55 +00:00
target_sources(${PROJECT_NAME} PRIVATE ${SOURCES})
2023-12-07 20:32:43 +00:00
2023-12-11 23:29:55 +00:00
target_link_libraries(${PROJECT_NAME} PRIVATE MariaDB::client)