pica/database/migrations/CMakeLists.txt

10 lines
243 B
CMake
Raw Normal View History

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