pica/database/migrations/CMakeLists.txt

13 lines
349 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-laterater
set(MIGRATIONS migrations)
2023-12-11 23:29:55 +00:00
configure_file(m0.sql ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/${MIGRATIONS}/m0.sql COPYONLY)
install(
FILES
m0.sql
DESTINATION
${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/${MIGRATIONS}
)