Make sure that cmake files are installed at correct location so they
could be located using find_package.

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../0001-dont-install-licenses-and-version-file.patch     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch
 
b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch
index e5ff530a..185a475b 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch
+++ 
b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch
@@ -1,4 +1,4 @@
-From 5d0f3782ba264880b3bb5b96b6d78e2581aa6efd Mon Sep 17 00:00:00 2001
+From a7ee6a27135fef24a398690d9280aca79315fa25 Mon Sep 17 00:00:00 2001
 From: Anuj Mittal <[email protected]>
 Date: Tue, 9 Jun 2020 11:35:59 +0800
 Subject: [PATCH] don't install licenses and version
@@ -11,7 +11,7 @@ Signed-off-by: Anuj Mittal <[email protected]>
  1 file changed, 2 insertions(+), 11 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index c347cb465d..d0ec643eb0 100644
+index c347cb465d..9f57a5ed9c 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -641,7 +641,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
@@ -19,7 +19,7 @@ index c347cb465d..d0ec643eb0 100644
          FILE ngraphTargets.cmake
          NAMESPACE ngraph::
 -        DESTINATION ${NGRAPH_COMPONENT_PREFIX}cmake
-+      DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
++        DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph
          COMPONENT ngraph)
  
      
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/share/ngraphConfig.cmake.in
@@ -28,7 +28,7 @@ index c347cb465d..d0ec643eb0 100644
      install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfig.cmake
          ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfigVersion.cmake
 -        DESTINATION ${NGRAPH_COMPONENT_PREFIX}cmake
-+      DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
++        DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph
          COMPONENT ngraph)
  endif()
 -
-- 
2.25.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6615): 
https://lists.yoctoproject.org/g/meta-intel/message/6615
Mute This Topic: https://lists.yoctoproject.org/mt/75073592/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to