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.patch31
1 files changed, 21 insertions, 10 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 185a475b..88aab623 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 a7ee6a27135fef24a398690d9280aca79315fa25 Mon Sep 17 00:00:00 2001 1From 92df2822c7bc50275bb6a170820e04408db50040 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,14 +7,15 @@ 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 CMakeLists.txt | 13 ++----------- 10 ngraph/CMakeLists.txt | 13 ++-----------
11 1 file changed, 2 insertions(+), 11 deletions(-) 11 ngraph/test/runtime/CMakeLists.txt | 2 ++
12 2 files changed, 4 insertions(+), 11 deletions(-)
12 13
13diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/ngraph/CMakeLists.txt b/ngraph/CMakeLists.txt
14index c347cb465d..9f57a5ed9c 100644 15index 4eb969f02..c52aec2ec 100644
15--- a/CMakeLists.txt 16--- a/ngraph/CMakeLists.txt
16+++ b/CMakeLists.txt 17+++ b/ngraph/CMakeLists.txt
17@@ -641,7 +641,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE) 18@@ -496,7 +496,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
18 install(EXPORT ngraphTargets 19 install(EXPORT ngraphTargets
19 FILE ngraphTargets.cmake 20 FILE ngraphTargets.cmake
20 NAMESPACE ngraph:: 21 NAMESPACE ngraph::
@@ -23,7 +24,7 @@ index c347cb465d..9f57a5ed9c 100644
23 COMPONENT ngraph) 24 COMPONENT ngraph)
24 25
25 configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/share/ngraphConfig.cmake.in 26 configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/share/ngraphConfig.cmake.in
26@@ -654,15 +654,6 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE) 27@@ -509,15 +509,6 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
27 28
28 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfig.cmake 29 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfig.cmake
29 ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfigVersion.cmake 30 ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfigVersion.cmake
@@ -40,6 +41,16 @@ index c347cb465d..9f57a5ed9c 100644
40- 41-
41-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph) 42-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph)
42-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph) 43-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph)
44diff --git a/ngraph/test/runtime/CMakeLists.txt b/ngraph/test/runtime/CMakeLists.txt
45index e37aba8b7..83ed2efbd 100644
46--- a/ngraph/test/runtime/CMakeLists.txt
47+++ b/ngraph/test/runtime/CMakeLists.txt
48@@ -68,3 +68,5 @@ target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
49
50 add_subdirectory(interpreter)
51 add_subdirectory(ie)
52+
53+install(TARGETS ngraph_backend DESTINATION ${NGRAPH_INSTALL_LIB})
43-- 54--
442.25.4 552.26.2
45 56