0002-cmake-install-oplk-headers-files.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From f7679a4083de3a9dba80cd719ad4904fbade349b 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
  5. In order to be able to link a third party application
  6. with openpowerlink libraries, we need to install the
  7. oplk headers files related to openpowerlink stack.
  8. Install all headers file from STACK_INCLUDE_DIR/oplk.
  9. Signed-off-by: Romain Naour <romain.naour@gmail.com>
  10. ---
  11. stack/CMakeLists.txt | 5 +++++
  12. 1 file changed, 5 insertions(+)
  13. diff --git a/stack/CMakeLists.txt b/stack/CMakeLists.txt
  14. index 69454f2..45f131d 100644
  15. --- a/stack/CMakeLists.txt
  16. +++ b/stack/CMakeLists.txt
  17. @@ -110,3 +110,8 @@ ELSEIF((CMAKE_SYSTEM_NAME STREQUAL "Generic") AND (CMAKE_SYSTEM_PROCESSOR STREQU
  18. ELSE()
  19. MESSAGE(FATAL_ERROR "Unknown Platform and processor combination ${CMAKE_SYSTEM_NAME} and ${CMAKE_SYSTEM_PROCESSOR}!!")
  20. ENDIF()
  21. +
  22. +################################################################################
  23. +# Install oplk headers files
  24. +################################################################################
  25. +INSTALL(DIRECTORY ${STACK_INCLUDE_DIR}/oplk DESTINATION "include")
  26. --
  27. 2.9.4