pica/database/migrations/CMakeLists.txt
2023-12-11 20:29:55 -03:00

10 lines
243 B
CMake

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}
)