CPM external for WebDAV Client library.
Add this line to your CMakeLists.txt
file:
CPM_AddModule("webdav-client"
GIT_REPOSITORY "https://github.com/designerror/cpm-webdav-client")
Add this to your C++ code to use Webdavclient:
#include <webdav/client.hpp>