cmake: fix strlcpy() detection and usage.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 26 Jan 2017 17:35:35 +0000 (15:35 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 26 Jan 2017 17:53:14 +0000 (15:53 -0200)
commit85a095f0a88ef803e1eb98664b83116e2614c4ce
treefa8ee37c671dc1b041d7c9bec5c4ba992b8b5574
parent4ed139a49cedf3f6e85d6f631a56bb7e4e416cc6
cmake: fix strlcpy() detection and usage.

Linux usually ship with strlcpy(), but it's inside bsd/string.h and
needs -lbsd.

On BSD it's inside string.h and libc.
cmake/config/common.cmake
src/lib/eina/CMakeLists.txt
src/lib/eina/eina_str.c