Hi,
In current cmake file, there is a hard coded path of /usr/local/lib, although it's a valid assumption that the path exists, it's not necessary to use it by using correct cmake functions.
My suggestion:
Remove the hard coded path and use proper cmake functions.
Thanks.