From 3af05a251e0c1418e308dc20a054cda492033ffb Mon Sep 17 00:00:00 2001 From: john30 Date: Thu, 10 May 2018 13:32:12 +0200 Subject: [PATCH] added mini install target --- src/ebusd/CMakeLists.txt | 3 +++ src/tools/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) 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) +