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

16 lines
237 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-07 20:32:43 +00:00
)
set(SOURCES
mysql.cpp
2023-12-08 22:26:16 +00:00
statement.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)