CMake: set link directories and libraries
CMake: set link directories and libraries

Even when not building examples, the linked libraries should be set so that any dependent binaries can link with them. The link directories need to be set as well so the dependents can find them. Fixes #2751

Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api