summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0006-Install-clDNN-plugin-to-CMAKE_INSTALL_LIBDIR.patch
blob: b0c0a5d4b9162b94efd58efc56ab6a5e64687dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From e41aafcd133ecf7215e941e01a58fcacd5c91bd7 Mon Sep 17 00:00:00 2001
From: Chin Huat Ang <chin.huat.ang@intel.com>
Date: Mon, 30 Sep 2019 13:50:45 +0800
Subject: [PATCH 6/7] Install clDNN plugin to CMAKE_INSTALL_LIBDIR

Upstream-Status: Pending
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
---
 inference-engine/src/cldnn_engine/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inference-engine/src/cldnn_engine/CMakeLists.txt b/inference-engine/src/cldnn_engine/CMakeLists.txt
index b618084..7bdb311 100644
--- a/inference-engine/src/cldnn_engine/CMakeLists.txt
+++ b/inference-engine/src/cldnn_engine/CMakeLists.txt
@@ -22,6 +22,8 @@ target_include_directories(${TARGET_NAME} PRIVATE
         ${IE_MAIN_SOURCE_DIR}/src/inference_engine
         ${IE_MAIN_SOURCE_DIR}/thirdparty/pugixml/src)
 
+install(TARGETS ${TARGET_NAME} EXPORT ${TARGET_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+
 # copy default global xml file describing the custom kernels and the *.cl files
 
 add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
-- 
2.7.4