2016-11-03 22:05:22 +01:00
|
|
|
From 8cb39257e12d6b82190aec8ab9ad89a9ee13af71 Mon Sep 17 00:00:00 2001
|
2016-06-04 16:38:10 +02:00
|
|
|
From: Romain Naour <romain.naour@gmail.com>
|
|
|
|
Date: Wed, 25 May 2016 15:57:29 +0200
|
2016-02-07 17:56:56 +01:00
|
|
|
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.
|
|
|
|
|
2016-06-04 16:38:10 +02:00
|
|
|
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
2016-02-07 17:56:56 +01:00
|
|
|
---
|
|
|
|
stack/CMakeLists.txt | 5 +++++
|
|
|
|
1 file changed, 5 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/stack/CMakeLists.txt b/stack/CMakeLists.txt
|
2016-11-03 22:05:22 +01:00
|
|
|
index 3b11c54..4eadf44 100644
|
2016-02-07 17:56:56 +01:00
|
|
|
--- a/stack/CMakeLists.txt
|
|
|
|
+++ b/stack/CMakeLists.txt
|
2016-11-03 22:05:22 +01:00
|
|
|
@@ -105,3 +105,8 @@ ELSEIF((CMAKE_SYSTEM_NAME STREQUAL "Generic") AND (CMAKE_SYSTEM_PROCESSOR STREQU
|
2016-02-07 17:56:56 +01:00
|
|
|
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")
|
|
|
|
--
|
2016-11-03 22:05:22 +01:00
|
|
|
2.8.1
|
2016-02-07 17:56:56 +01:00
|
|
|
|