From 9ddf617311c2510f7dd7af456d419dbe5e4e6e50 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Wed, 24 Jun 2020 09:02:19 +0800 Subject: openvino-inference-engine: fix installation of ngraph cmake Make sure that cmake files are installed at correct location so they could be located using find_package. Signed-off-by: Anuj Mittal --- .../files/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 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 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() - -- cgit v1.2.3-54-g00ecf