File tree 1 file changed +1
-5
lines changed
src/plugins/intel_gpu/src/graph
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,6 @@ macro(ov_gpu_add_backend_target)
56
56
list (APPEND TARGET_DEFINITIONS $<TARGET_PROPERTY:${lib} ,INTERFACE_COMPILE_DEFINITIONS >)
57
57
endforeach ()
58
58
59
- foreach (lib IN LISTS TARGET_LINK_LIBRARIES)
60
- list (APPEND TARGET_INCLUDES $<TARGET_PROPERTY:${lib} ,INTERFACE_INCLUDE_DIRECTORIES >)
61
- endforeach ()
62
-
63
59
ov_add_target(
64
60
NAME ${ARG_NAME}
65
61
ROOT ${CMAKE_CURRENT_SOURCE_DIR}
@@ -81,7 +77,7 @@ macro(ov_gpu_add_backend_target)
81
77
82
78
# We use onednn headers all over the graph module, so we have to append includes to all backends and add a dependency between targets
83
79
if (ENABLE_ONEDNN_FOR_GPU)
84
- target_include_directories (${ARG_NAME} PRIVATE $<TARGET_PROPERTY:onednn_gpu_tgt,INTERFACE_SYSTEM_INCLUDE_DIRECTORIES >)
80
+ target_include_directories (${ARG_NAME} SYSTEM PRIVATE $<TARGET_PROPERTY:onednn_gpu_tgt,INTERFACE_INCLUDE_DIRECTORIES >)
85
81
add_dependencies (openvino_intel_gpu_${IMPL_TYPE} _obj onednn_gpu_tgt)
86
82
endif ()
87
83
endmacro ()
You can’t perform that action at this time.
0 commit comments