diff --git a/src/ebusd/CMakeLists.txt b/src/ebusd/CMakeLists.txt index 8cf76267..96c3f0e4 100644 --- a/src/ebusd/CMakeLists.txt +++ b/src/ebusd/CMakeLists.txt @@ -27,3 +27,6 @@ include_directories(../lib/utils) add_executable(ebusd ${ebusd_SOURCES}) target_link_libraries(ebusd utils ebus pthread rt ${LIB_ARGP} ${ebusd_LIBS}) + +install(TARGETS ebusd EXPORT ebusd DESTINATION usr/bin) + diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index bed144f7..920c3a6f 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -12,3 +12,6 @@ add_executable(ebusctl ${ebusctl_SOURCES}) add_executable(ebusfeed ${ebusfeed_SOURCES}) target_link_libraries(ebusctl utils ebus ${LIB_ARGP} ${ebusctl_LIBS}) target_link_libraries(ebusfeed ebus ${LIB_ARGP} ${ebusfeed_LIBS}) + +install(TARGETS ebusctl EXPORT ebusd DESTINATION usr/bin) +