I am using CMake to generate my make file.
However, in one of my files, I need to use boost::network::uri::valid(uri_)
. So I have included the header file (#include boost/network/uri.hpp
) and I am using the boost::network::uri::valid(uri_)
function.
How can I tell CMake to use this header uri.hpp
and to add the required library?
I have read that I can use find_package
but I have no or little knowledge about that.
I am using cpp-netlib-0.9.4.