Use existent (non snap) lxd installation with snapcraft


is it possible to use lxd with snapcraft when lxd was not installed as a snap? If I try snapcraft with lxd as build provider, I get the message:

Support for 'LXD' needs to be set up. Would you like to do it now? [y/N]:

If I choose y, it starts to install lxd as a snap even though I have lxd already installed and don’t want to reinstall lxd as a snap.

❯ lxd --version