xref: /OK3568_Linux_fs/buildroot/package/openpowerlink/0002-cmake-install-oplk-headers-files.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFrom f7679a4083de3a9dba80cd719ad4904fbade349b Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Romain Naour <romain.naour@gmail.com>
3*4882a593SmuzhiyunDate: Wed, 25 May 2016 15:57:29 +0200
4*4882a593SmuzhiyunSubject: [PATCH] cmake: install oplk headers files
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunIn order to be able to link a third party application
7*4882a593Smuzhiyunwith openpowerlink libraries, we need to install the
8*4882a593Smuzhiyunoplk headers files related to openpowerlink stack.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunInstall all headers file from STACK_INCLUDE_DIR/oplk.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSigned-off-by: Romain Naour <romain.naour@gmail.com>
13*4882a593Smuzhiyun---
14*4882a593Smuzhiyun stack/CMakeLists.txt | 5 +++++
15*4882a593Smuzhiyun 1 file changed, 5 insertions(+)
16*4882a593Smuzhiyun
17*4882a593Smuzhiyundiff --git a/stack/CMakeLists.txt b/stack/CMakeLists.txt
18*4882a593Smuzhiyunindex 69454f2..45f131d 100644
19*4882a593Smuzhiyun--- a/stack/CMakeLists.txt
20*4882a593Smuzhiyun+++ b/stack/CMakeLists.txt
21*4882a593Smuzhiyun@@ -110,3 +110,8 @@ ELSEIF((CMAKE_SYSTEM_NAME STREQUAL "Generic") AND (CMAKE_SYSTEM_PROCESSOR STREQU
22*4882a593Smuzhiyun ELSE()
23*4882a593Smuzhiyun     MESSAGE(FATAL_ERROR "Unknown Platform and processor combination ${CMAKE_SYSTEM_NAME} and ${CMAKE_SYSTEM_PROCESSOR}!!")
24*4882a593Smuzhiyun ENDIF()
25*4882a593Smuzhiyun+
26*4882a593Smuzhiyun+################################################################################
27*4882a593Smuzhiyun+# Install oplk headers files
28*4882a593Smuzhiyun+################################################################################
29*4882a593Smuzhiyun+INSTALL(DIRECTORY ${STACK_INCLUDE_DIR}/oplk DESTINATION "include")
30*4882a593Smuzhiyun--
31*4882a593Smuzhiyun2.9.4
32*4882a593Smuzhiyun
33