Examples Dependencies
Various if statements are required to only build examples when certain dependencies are present. It would be nice if we had a general function to just check if the libraries listed in the target_link_libraries are present, and if not, don't build it.