2017-03-24 13:49:51 +01:00
|
|
|
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
|
2015-11-28 20:14:42 +01:00
|
|
|
|
|
|
|
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
|
2017-03-24 13:49:51 +01:00
|
|
|
Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
|
|
|
|
[Rahul Jain: rebase the patch on latest version]
|
2015-11-28 20:14:42 +01:00
|
|
|
---
|
|
|
|
examples/CMakeLists.txt | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
|
2017-03-24 13:49:51 +01:00
|
|
|
index 81f9997..38f153f 100644
|
2015-11-28 20:14:42 +01:00
|
|
|
--- a/examples/CMakeLists.txt
|
|
|
|
+++ b/examples/CMakeLists.txt
|
|
|
|
@@ -9,4 +9,8 @@ IF (BUILD_EXAMPLES)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(client client.c count.c)
|
2017-03-24 13:49:51 +01:00
|
|
|
TARGET_LINK_LIBRARIES(client ubus ${ubox_library})
|
2015-11-28 20:14:42 +01:00
|
|
|
+
|
|
|
|
+ INSTALL(TARGETS server client
|
2017-03-24 13:49:51 +01:00
|
|
|
+ RUNTIME DESTINATION sbin
|
2015-11-28 20:14:42 +01:00
|
|
|
+ )
|
|
|
|
ENDIF()
|
|
|
|
--
|
2017-03-24 13:49:51 +01:00
|
|
|
2.6.2
|
2015-11-28 20:14:42 +01:00
|
|
|
|