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>
This commit is contained in:
Conrad Kostecki
2024-01-13 21:59:58 +01:00
parent 47d2a3aa00
commit 80792ff12a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,5 +36,5 @@ include_directories(../lib/utils)
add_executable(ebusd ${ebusd_SOURCES})
target_link_libraries(ebusd utils ebus pthread rt ${ebusd_LIBS})
install(TARGETS ebusd EXPORT ebusd DESTINATION usr/bin)
install(TARGETS ebusd EXPORT ebusd DESTINATION bin)
+1 -1
View File
@@ -12,4 +12,4 @@ add_executable(ebuspicloader ${ebuspicloader_SOURCES})
target_link_libraries(ebusctl utils ebus ${ebusctl_LIBS})
target_link_libraries(ebuspicloader utils ${ebuspicloader_LIBS})
install(TARGETS ebusctl ebuspicloader EXPORT ebusd DESTINATION usr/bin)
install(TARGETS ebusctl ebuspicloader EXPORT ebusd DESTINATION bin)