From 09c43536fe0612843b125f54cc6f32990d371494 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 6 Aug 2020 18:49:17 +0300 Subject: [PATCH] Link CMAKE_DL_LIBS to IE (#1663) --- inference-engine/src/inference_engine/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference-engine/src/inference_engine/CMakeLists.txt b/inference-engine/src/inference_engine/CMakeLists.txt index b3bb56df7b7a21..b55658006b70a2 100644 --- a/inference-engine/src/inference_engine/CMakeLists.txt +++ b/inference-engine/src/inference_engine/CMakeLists.txt @@ -159,7 +159,7 @@ add_library(${TARGET_NAME} SHARED set_ie_threading_interface_for(${TARGET_NAME}) -target_link_libraries(${TARGET_NAME} PRIVATE Threads::Threads pugixml openvino::itt +target_link_libraries(${TARGET_NAME} PRIVATE ${CMAKE_DL_LIBS} Threads::Threads pugixml openvino::itt ${NGRAPH_LIBRARIES} inference_engine_transformations PUBLIC ${TARGET_NAME}_legacy)