meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-dont-install-licenses-and-version-file.patch
Anuj Mittal 7aeed42101 openvino: upgrade 2021.1 -> 2021.2
For release notes, see:
https://software.intel.com/content/www/us/en/develop/articles/openvino-relnotes.html

Refresh patches and use the now available option to build against system
version of pugixml.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-29 16:35:15 +08:00

55 lines
1.9 KiB
Diff

From a60710c910e6c995aef9dd36757bf040bf24acf5 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Tue, 9 Jun 2020 11:35:59 +0800
Subject: [PATCH] don't install licenses and version
Upstream-Status: Inappropriate
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
ngraph/CMakeLists.txt | 6 ++----
ngraph/test/runtime/CMakeLists.txt | 2 ++
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ngraph/CMakeLists.txt b/ngraph/CMakeLists.txt
index 99f32a6181..b90aa382b9 100644
--- a/ngraph/CMakeLists.txt
+++ b/ngraph/CMakeLists.txt
@@ -490,7 +490,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
install(EXPORT ngraphTargets
FILE ngraphTargets.cmake
NAMESPACE ngraph::
- DESTINATION ${NGRAPH_COMPONENT_PREFIX}cmake
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph
COMPONENT ngraph)
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/share/ngraphConfig.cmake.in
@@ -503,7 +503,7 @@ if (NGRAPH_EXPORT_TARGETS_ENABLE)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ngraphConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/ngraphConfigVersion.cmake
- DESTINATION ${NGRAPH_COMPONENT_PREFIX}cmake
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ngraph
COMPONENT ngraph)
endif()
@@ -518,5 +518,3 @@ add_subdirectory(test)
if (NGRAPH_PYTHON_BUILD_ENABLE)
add_subdirectory(python)
endif()
-
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION "${NGRAPH_COMPONENT_PREFIX}." COMPONENT ngraph)
diff --git a/ngraph/test/runtime/CMakeLists.txt b/ngraph/test/runtime/CMakeLists.txt
index d27ea8090c..17a3843f7d 100644
--- a/ngraph/test/runtime/CMakeLists.txt
+++ b/ngraph/test/runtime/CMakeLists.txt
@@ -80,3 +80,5 @@ target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(interpreter)
add_subdirectory(ie)
+
+install(TARGETS ngraph_backend DESTINATION ${NGRAPH_INSTALL_LIB})
--
2.29.2