summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch32
1 files changed, 17 insertions, 15 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 3130fb88..3c265652 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 @@
1From c6fa6f32077ab554839d6e1e5b46d0778c17b8b1 Mon Sep 17 00:00:00 2001 1From 419070322898381885b0ffa286905a3b08a23aa6 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com> 2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Tue, 9 Jun 2020 11:35:59 +0800 3Date: Tue, 9 Jun 2020 11:35:59 +0800
4Subject: [PATCH] don't install licenses and version 4Subject: [PATCH] don't install licenses and version
@@ -7,48 +7,50 @@ Upstream-Status: Inappropriate
7 7
8Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 8Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
9--- 9---
10 ngraph/CMakeLists.txt | 6 ++---- 10 ngraph/CMakeLists.txt | 8 ++------
11 ngraph/test/runtime/CMakeLists.txt | 2 ++ 11 ngraph/test/runtime/CMakeLists.txt | 2 ++
12 2 files changed, 4 insertions(+), 4 deletions(-) 12 2 files changed, 4 insertions(+), 6 deletions(-)
13 13
14diff --git a/ngraph/CMakeLists.txt b/ngraph/CMakeLists.txt 14diff --git a/ngraph/CMakeLists.txt b/ngraph/CMakeLists.txt
15index 6163c01e4a..74c479c071 100644 15index a05ca3b15c..9bc507b4c7 100644
16--- a/ngraph/CMakeLists.txt 16--- a/ngraph/CMakeLists.txt
17+++ b/ngraph/CMakeLists.txt 17+++ b/ngraph/CMakeLists.txt
18@@ -353,7 +353,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE) 18@@ -272,7 +272,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
19 install(EXPORT ngraphTargets 19 install(EXPORT ngraphTargets
20 FILE ngraphTargets.cmake 20 FILE ngraphTargets.cmake
21 NAMESPACE ngraph:: 21 NAMESPACE ngraph::
22- DESTINATION ${NGRAPH_COMPONENT_PREFIX}cmake 22- DESTINATION "deployment_tools/ngraph/cmake"
23+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph 23+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph
24 COMPONENT ngraph) 24 COMPONENT ngraph_dev)
25 endif() 25 endif()
26 26
27@@ -367,7 +367,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE) 27@@ -286,7 +286,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
28 28
29 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfig.cmake 29 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfig.cmake
30 ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfigVersion.cmake 30 ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfigVersion.cmake
31- DESTINATION ${NGRAPH_COMPONENT_PREFIX}cmake 31- DESTINATION "deployment_tools/ngraph/cmake"
32+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph 32+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph
33 COMPONENT ngraph) 33 COMPONENT ngraph_dev)
34 endif() 34 endif()
35 35
36@@ -386,5 +386,3 @@ add_subdirectory(test) 36@@ -337,7 +337,3 @@ add_subdirectory(test)
37 if (NGRAPH_PYTHON_BUILD_ENABLE) 37 if (NGRAPH_PYTHON_BUILD_ENABLE)
38 add_subdirectory(python) 38 add_subdirectory(python)
39 endif() 39 endif()
40- 40-
41-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph) 41-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION
42- DESTINATION "deployment_tools/ngraph"
43- COMPONENT ngraph)
42diff --git a/ngraph/test/runtime/CMakeLists.txt b/ngraph/test/runtime/CMakeLists.txt 44diff --git a/ngraph/test/runtime/CMakeLists.txt b/ngraph/test/runtime/CMakeLists.txt
43index 2943722acc..a2ccdd11de 100644 45index be84499ee0..f65357b751 100644
44--- a/ngraph/test/runtime/CMakeLists.txt 46--- a/ngraph/test/runtime/CMakeLists.txt
45+++ b/ngraph/test/runtime/CMakeLists.txt 47+++ b/ngraph/test/runtime/CMakeLists.txt
46@@ -79,3 +79,5 @@ target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 48@@ -66,3 +66,5 @@ target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
47 49
48 add_subdirectory(interpreter) 50 add_subdirectory(interpreter)
49 add_subdirectory(ie) 51 add_subdirectory(ie)
50+ 52+
51+install(TARGETS ngraph_backend DESTINATION ${NGRAPH_INSTALL_LIB}) 53+install(TARGETS ngraph_backend DESTINATION ${NGRAPH_INSTALL_LIB})
52-- 54--
532.30.2 552.32.0
54 56