OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Fixed GPU plugin debug build (#29276)
Ilya Lavrenov4cb9a0f5c495
diff --git a/src/plugins/intel_gpu/src/graph/CMakeLists.txt b/src/plugins/intel_gpu/src/graph/CMakeLists.txtindex 63a5c7027c7..513125f8d7f 100644--- a/src/plugins/intel_gpu/src/graph/CMakeLists.txt+++ b/src/plugins/intel_gpu/src/graph/CMakeLists.txt@@ -56,10 +56,6 @@ macro(ov_gpu_add_backend_target)list(APPEND TARGET_DEFINITIONS $<TARGET_PROPERTY:${lib},INTERFACE_COMPILE_DEFINITIONS>)endforeach()- foreach(lib IN LISTS TARGET_LINK_LIBRARIES)- list(APPEND TARGET_INCLUDES $<TARGET_PROPERTY:${lib},INTERFACE_INCLUDE_DIRECTORIES>)- endforeach()-ov_add_target(NAME ${ARG_NAME}ROOT ${CMAKE_CURRENT_SOURCE_DIR}@@ -81,7 +77,7 @@ macro(ov_gpu_add_backend_target)# We use onednn headers all over the graph module, so we have to append includes to all backends and add a dependency between targetsif (ENABLE_ONEDNN_FOR_GPU)- target_include_directories(${ARG_NAME} PRIVATE $<TARGET_PROPERTY:onednn_gpu_tgt,INTERFACE_SYSTEM_INCLUDE_DIRECTORIES>)+ target_include_directories(${ARG_NAME} SYSTEM PRIVATE $<TARGET_PROPERTY:onednn_gpu_tgt,INTERFACE_INCLUDE_DIRECTORIES>)add_dependencies(openvino_intel_gpu_${IMPL_TYPE}_obj onednn_gpu_tgt)endif()endmacro()