diff --git a/inference-engine/include/ie_icnn_network.hpp b/inference-engine/include/ie_icnn_network.hpp index 694feb63a5a04f..3e0efeffa9b2b4 100644 --- a/inference-engine/include/ie_icnn_network.hpp +++ b/inference-engine/include/ie_icnn_network.hpp @@ -20,14 +20,6 @@ #include -#if defined IMPLEMENT_INFERENCE_ENGINE_API || defined IMPLEMENT_INFERENCE_ENGINE_PLUGIN || 1 -# define INFERENCE_ENGINE_ICNNNETWORK_CLASS(...) INFERENCE_ENGINE_API_CLASS(__VA_ARGS__) -#else -# define INFERENCE_ENGINE_ICNNNETWORK_CLASS(...) \ - INFERENCE_ENGINE_INTERNAL("Use InferenceEngine::CNNNetwork wrapper instead") \ - INFERENCE_ENGINE_API_CLASS(__VA_ARGS__) -#endif - namespace InferenceEngine { _IE_SUPPRESS_DEPRECATED_START_GCC diff --git a/inference-engine/src/inference_engine/CMakeLists.txt b/inference-engine/src/inference_engine/CMakeLists.txt index 061f596bd631c1..715622ba6aa373 100644 --- a/inference-engine/src/inference_engine/CMakeLists.txt +++ b/inference-engine/src/inference_engine/CMakeLists.txt @@ -162,7 +162,7 @@ if (TBBBIND_2_4_FOUND) endif() target_link_libraries(${TARGET_NAME} PRIVATE pugixml::static openvino::itt ${CMAKE_DL_LIBS} Threads::Threads - ngraph::frontend_manager::static inference_engine_transformations) + ngraph::frontend_manager::static inference_engine_transformations PUBLIC ngraph) target_include_directories(${TARGET_NAME} INTERFACE