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

21 lines
378 B
CMake
Raw Normal View History

2023-12-30 22:42:11 +00:00
#SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
#SPDX-License-Identifier: GPL-3.0-or-laterr
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)