I think you need libsodium:
libsodium-dev - Network communication, cryptography and signaturing library - headers
libsodium18 - Network communication, cryptography and signaturing library
Code:
apt-get install libsodium-dev libsodium18
Then you need to restart the compilation, starting with "rm CMakeCache.txt" ...