How to install relevant shared libraries along with executionable using cmake

please also consider building static opencv libs, & linking your prog against those, so you end up with a single executable & no dep libs.