1From f7679a4083de3a9dba80cd719ad4904fbade349b Mon Sep 17 00:00:00 2001 2From: Romain Naour <romain.naour@gmail.com> 3Date: Wed, 25 May 2016 15:57:29 +0200 4Subject: [PATCH] cmake: install oplk headers files 5 6In order to be able to link a third party application 7with openpowerlink libraries, we need to install the 8oplk headers files related to openpowerlink stack. 9 10Install all headers file from STACK_INCLUDE_DIR/oplk. 11 12Signed-off-by: Romain Naour <romain.naour@gmail.com> 13--- 14 stack/CMakeLists.txt | 5 +++++ 15 1 file changed, 5 insertions(+) 16 17diff --git a/stack/CMakeLists.txt b/stack/CMakeLists.txt 18index 69454f2..45f131d 100644 19--- a/stack/CMakeLists.txt 20+++ b/stack/CMakeLists.txt 21@@ -110,3 +110,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() 25+ 26+################################################################################ 27+# Install oplk headers files 28+################################################################################ 29+INSTALL(DIRECTORY ${STACK_INCLUDE_DIR}/oplk DESTINATION "include") 30-- 312.9.4 32 33