/usr should not be hardcoded, as otherwise this will cause a double
prefix during installation.
The correct prefix is already being handled by CMAKE_INSTALL_PREFIX.
Example:
>>> /usr/usr/bin/ebuspicloader
>>> /usr/usr/bin/ebusctl
>>> /usr/usr/bin/ebusd
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This disabled shared libs, as otherwise the compilation could fail.
The installed binary files are still dynamically linked, as this affects
only internal linking here.
Closes: https://github.com/john30/ebusd/issues/1132
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
CXXCLAGS needs to be quote, as otherwise the test could fail on some
CXXFLAGS like '-mfpmath=sse,387'
test: syntax error: `-mfpmath=sse,387' unexpected
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>