xorg-server: not available with musl on ARM
[buildroot-gz.git] / package / openpowerlink / 0002-cmake-install-oplk-headers-files.patch
blob7d338a4593a4a8bddcc9d12e6f1e4fc517a90bae
1 From 8cb39257e12d6b82190aec8ab9ad89a9ee13af71 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@gmail.com>
3 Date: Wed, 25 May 2016 15:57:29 +0200
4 Subject: [PATCH] cmake: install oplk headers files
6 In order to be able to link a third party application
7 with openpowerlink libraries, we need to install the
8 oplk headers files related to openpowerlink stack.
10 Install all headers file from STACK_INCLUDE_DIR/oplk.
12 Signed-off-by: Romain Naour <romain.naour@gmail.com>
13 ---
14 stack/CMakeLists.txt | 5 +++++
15 1 file changed, 5 insertions(+)
17 diff --git a/stack/CMakeLists.txt b/stack/CMakeLists.txt
18 index 3b11c54..4eadf44 100644
19 --- a/stack/CMakeLists.txt
20 +++ b/stack/CMakeLists.txt
21 @@ -105,3 +105,8 @@ ELSEIF((CMAKE_SYSTEM_NAME STREQUAL "Generic") AND (CMAKE_SYSTEM_PROCESSOR STREQU
22 ELSE()
23 MESSAGE(FATAL_ERROR "Unknown Platform and processor combination ${CMAKE_SYSTEM_NAME} and ${CMAKE_SYSTEM_PROCESSOR}!!")
24 ENDIF()
26 +################################################################################
27 +# Install oplk headers files
28 +################################################################################
29 +INSTALL(DIRECTORY ${STACK_INCLUDE_DIR}/oplk DESTINATION "include")
30 --
31 2.8.1