From 57d2c1c0526c04307bbb09aadf502a6a36d6abd3 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 18 Oct 2019 18:56:42 +0200 Subject: [HICN-340] Install hicn-light service file. Change-Id: I102d16327d74f0c69e88003045de6450aae32923 Signed-off-by: Mauro Sardara --- hicn-light/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'hicn-light') diff --git a/hicn-light/CMakeLists.txt b/hicn-light/CMakeLists.txt index 829c1d1f3..a632380fc 100644 --- a/hicn-light/CMakeLists.txt +++ b/hicn-light/CMakeLists.txt @@ -71,7 +71,7 @@ else() endif () endif() -include( Packaging ) +include(Packaging) find_package(Threads REQUIRED) @@ -107,3 +107,10 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang") endif() add_subdirectory(src/hicn) + +# Install service file in linux systems +include(ServiceScript) +install_service_script( + ${CMAKE_CURRENT_SOURCE_DIR}/config/hicn-light.service + COMPONENT ${HICN_LIGHT} +) \ No newline at end of file -- cgit 1.2.3-korg