summaryrefslogtreecommitdiffstats
path: root/package/ubus/0001-Install-server-and-client-examples.patch
blob: 5c985d8cd51713eca4348cd235c3068733aac110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From aa4aea68a9d2a38fabb5ae8e5a0d05dfd7bcf907 Mon Sep 17 00:00:00 2001
From: Rahul Jain <Rahul.Jain@imgtec.com>
Date: Fri, 24 Mar 2017 18:03:24 +0530
Subject: [PATCH] Install server and client examples

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
[Rahul Jain: rebase the patch on latest version]
---
 examples/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 81f9997..38f153f 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -9,4 +9,8 @@ IF (BUILD_EXAMPLES)
 
 	ADD_EXECUTABLE(client client.c count.c)
 	TARGET_LINK_LIBRARIES(client ubus ${ubox_library})
+
+	INSTALL(TARGETS server client
+		RUNTIME DESTINATION sbin
+	)
 ENDIF()
-- 
2.6.2

OpenPOWER on IntegriCloud