Commit Graph
3 Commits
Author SHA1 Message Date
Conrad Kostecki 80792ff12a src/{ebusd,tools}/CMakeLists.txt: remove usr path
/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>
2024-01-13 21:59:58 +01:00
Conrad Kostecki fcb8066624 CMakeLists.txt: add BUILD_SHARED_LIBS=OFF
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>
2024-01-13 21:44:48 +01:00
Conrad Kostecki 6c2d102544 configure.ac: quote CXXFLAGS
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>
2024-01-13 21:33:28 +01:00