I have boost 1.66 and cmake 3.10. Unfortunately the abstract targets boost::system etc need to be manually maintained by cmake. By using Boost_LIBRARIES we don't have this problem.
Also fixed a wrong forward declaration (struct --> class)
Also fixed a strange error on clang where it complained about a non-virtual destructor.
These changes allow me to run the examples.
I have boost 1.66 and cmake 3.10. Unfortunately the abstract targets
boost::system
etc need to be manually maintained by cmake. By using Boost_LIBRARIES we don't have this problem.Also fixed a wrong forward declaration (struct --> class)
Also fixed a strange error on clang where it complained about a non-virtual destructor.