use DEPENDS snapshot_install in previous instead of add_dependencies. Same above for module.