Skip to content

Commit

Permalink
Fixed absolute paths in installed OpenVINOConfig.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Sep 16, 2023
1 parent 777f8f3 commit 779d30c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/templates/OpenVINOConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ macro(_ov_find_intel_gpu_dependencies)
unset(extra_args)
unset(onednn_gpu_lib)
else()
set(onednn_gpu_lib_path "@ONEDNN_GPU_LIB_PATH@")
set_and_check(onednn_gpu_lib_path "@PACKAGE_ONEDNN_GPU_LIB_PATH@")
endif()

set_target_properties(openvino::onednn_gpu_tgt PROPERTIES
Expand Down
3 changes: 3 additions & 0 deletions src/cmake/openvino.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ if(DNNL_USE_ACL)
list(APPEND BUILD_PATH_VARS "FIND_ACL_PATH;CMAKE_ARCHIVE_OUTPUT_DIRECTORY")
set(FIND_ACL_PATH "${intel_cpu_thirdparty_SOURCE_DIR}")
endif()
if(ENABLE_ONEDNN_FOR_GPU)
list(APPEND BUILD_PATH_VARS "ONEDNN_GPU_LIB_PATH")
endif()

set(PUBLIC_HEADERS_DIR "${OpenVINO_SOURCE_DIR}/src/inference/include")
set(IE_INCLUDE_DIR "${PUBLIC_HEADERS_DIR}/ie")
Expand Down

0 comments on commit 779d30c

Please sign in to comment.