diff options
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.patch | 32 |
1 files changed, 15 insertions, 17 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 88aab623..2a2c8b87 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 @@ | |||
1 | From 92df2822c7bc50275bb6a170820e04408db50040 Mon Sep 17 00:00:00 2001 | 1 | From a60710c910e6c995aef9dd36757bf040bf24acf5 Mon Sep 17 00:00:00 2001 |
2 | From: Anuj Mittal <anuj.mittal@intel.com> | 2 | From: Anuj Mittal <anuj.mittal@intel.com> |
3 | Date: Tue, 9 Jun 2020 11:35:59 +0800 | 3 | Date: Tue, 9 Jun 2020 11:35:59 +0800 |
4 | Subject: [PATCH] don't install licenses and version | 4 | Subject: [PATCH] don't install licenses and version |
@@ -7,15 +7,15 @@ Upstream-Status: Inappropriate | |||
7 | 7 | ||
8 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | 8 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> |
9 | --- | 9 | --- |
10 | ngraph/CMakeLists.txt | 13 ++----------- | 10 | ngraph/CMakeLists.txt | 6 ++---- |
11 | ngraph/test/runtime/CMakeLists.txt | 2 ++ | 11 | ngraph/test/runtime/CMakeLists.txt | 2 ++ |
12 | 2 files changed, 4 insertions(+), 11 deletions(-) | 12 | 2 files changed, 4 insertions(+), 4 deletions(-) |
13 | 13 | ||
14 | diff --git a/ngraph/CMakeLists.txt b/ngraph/CMakeLists.txt | 14 | diff --git a/ngraph/CMakeLists.txt b/ngraph/CMakeLists.txt |
15 | index 4eb969f02..c52aec2ec 100644 | 15 | index 99f32a6181..b90aa382b9 100644 |
16 | --- a/ngraph/CMakeLists.txt | 16 | --- a/ngraph/CMakeLists.txt |
17 | +++ b/ngraph/CMakeLists.txt | 17 | +++ b/ngraph/CMakeLists.txt |
18 | @@ -496,7 +496,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE) | 18 | @@ -490,7 +490,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:: |
@@ -24,7 +24,7 @@ index 4eb969f02..c52aec2ec 100644 | |||
24 | COMPONENT ngraph) | 24 | COMPONENT ngraph) |
25 | 25 | ||
26 | 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 |
27 | @@ -509,15 +509,6 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE) | 27 | @@ -503,7 +503,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 |
@@ -32,25 +32,23 @@ index 4eb969f02..c52aec2ec 100644 | |||
32 | + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph | 32 | + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph |
33 | COMPONENT ngraph) | 33 | COMPONENT ngraph) |
34 | endif() | 34 | endif() |
35 | |||
36 | @@ -518,5 +518,3 @@ add_subdirectory(test) | ||
37 | if (NGRAPH_PYTHON_BUILD_ENABLE) | ||
38 | add_subdirectory(python) | ||
39 | endif() | ||
35 | - | 40 | - |
36 | -install(DIRECTORY | ||
37 | - ${CMAKE_CURRENT_SOURCE_DIR}/licenses | ||
38 | - DESTINATION "${NGRAPH_COMPONENT_PREFIX}." | ||
39 | - COMPONENT ngraph | ||
40 | -) | ||
41 | - | ||
42 | -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph) | ||
43 | -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph) | 41 | -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph) |
44 | diff --git a/ngraph/test/runtime/CMakeLists.txt b/ngraph/test/runtime/CMakeLists.txt | 42 | diff --git a/ngraph/test/runtime/CMakeLists.txt b/ngraph/test/runtime/CMakeLists.txt |
45 | index e37aba8b7..83ed2efbd 100644 | 43 | index d27ea8090c..17a3843f7d 100644 |
46 | --- a/ngraph/test/runtime/CMakeLists.txt | 44 | --- a/ngraph/test/runtime/CMakeLists.txt |
47 | +++ b/ngraph/test/runtime/CMakeLists.txt | 45 | +++ b/ngraph/test/runtime/CMakeLists.txt |
48 | @@ -68,3 +68,5 @@ target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | 46 | @@ -80,3 +80,5 @@ target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
49 | 47 | ||
50 | add_subdirectory(interpreter) | 48 | add_subdirectory(interpreter) |
51 | add_subdirectory(ie) | 49 | add_subdirectory(ie) |
52 | + | 50 | + |
53 | +install(TARGETS ngraph_backend DESTINATION ${NGRAPH_INSTALL_LIB}) | 51 | +install(TARGETS ngraph_backend DESTINATION ${NGRAPH_INSTALL_LIB}) |
54 | -- | 52 | -- |
55 | 2.26.2 | 53 | 2.29.2 |
56 | 54 | ||