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

10 lines
237 B
CMake

set(MIGRATIONS migrations)
configure_file(m0.sql ${PICA_BIN_DIR}/${CMAKE_INSTALL_DATADIR}/${MIGRATIONS}/m0.sql COPYONLY)
install(
FILES
m0.sql
DESTINATION
${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/${MIGRATIONS}
)