[CDS-96] Use CMake variable to set lib directory (#110)
[CDS-96] Use CMake variable to set lib directory (#110)

* Use CMake variable to set libdir

More reliable across distro which could have different lib directory
name 'lib64' or 'lib'.

Signed-off-by: Sebastien Douheret <f9be12b3a1c94f57a8a5030c89d140f4463af596@iot.bzh>

* Set default value if CMAKE_INSTALL_LIBDIR is empty

CMAKE_INSTALL_LIBDIR is empty on Arch Linux.

rkollataj/CANdevStudio,GENIVI/CANdevStudio,rkollataj/CANdevStudio,GENIVI/CANdevStudio,rkollataj/CANdevStudio,GENIVI/CANdevStudio