summaryrefslogtreecommitdiffstats
path: root/package/openpowerlink/0002-cmake-install-oplk-headers-files.patch
blob: 7553c30eb689fa6e82308fd0e6851b065cd9293a (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
29
30
31
32
From c904fb6ce3c29e77d51d8bcbbbdd48b8d22c754b Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@openwide.fr>
Date: Mon, 4 May 2015 11:47:05 +0200
Subject: [PATCH] cmake: install oplk headers files

In order to be able to link a third party application
with openpowerlink libraries, we need to install the
oplk headers files related to openpowerlink stack.

Install all headers file from STACK_INCLUDE_DIR/oplk.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 stack/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/stack/CMakeLists.txt b/stack/CMakeLists.txt
index 9ff13f4..f4614cd 100644
--- a/stack/CMakeLists.txt
+++ b/stack/CMakeLists.txt
@@ -103,3 +103,8 @@ ELSEIF((CMAKE_SYSTEM_NAME STREQUAL "Generic") AND (CMAKE_SYSTEM_PROCESSOR STREQU
 ELSE()
     MESSAGE(FATAL_ERROR "Unknown Platform and processor combination ${CMAKE_SYSTEM_NAME} and ${CMAKE_SYSTEM_PROCESSOR}!!")
 ENDIF()
+
+################################################################################
+# Install oplk headers files
+################################################################################
+INSTALL(DIRECTORY ${STACK_INCLUDE_DIR}/oplk DESTINATION "include")
-- 
2.4.3

OpenPOWER on IntegriCloud