13 lines
349 B
CMake
13 lines
349 B
CMake
#SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
#SPDX-License-Identifier: GPL-3.0-or-laterater
|
|
|
|
set(MIGRATIONS migrations)
|
|
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}
|
|
)
|