Skip to content

Commit d00090e

Browse files
committed
Temporary install opencl
1 parent f2b6f86 commit d00090e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

thirdparty/ocl/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ set(opencl_root_hints "${OpenCL_INCLUDE_DIR}" PARENT_SCOPE)
6161
ov_install_static_lib(OpenCL ${OV_CPACK_COMP_CORE})
6262

6363
if(NOT BUILD_SHARED_LIBS)
64+
# dummy export to make cmake happy (this target should be explicitly in dnnl-targets export set
65+
# because oneDNN externals depend on it)
6466
install(TARGETS OpenCL EXPORT dnnl-targets
6567
ARCHIVE DESTINATION ${OV_CPACK_ARCHIVEDIR} COMPONENT ${OV_CPACK_COMP_CORE})
6668
endif()
69+
70+
# TODO: remove before merge
71+
install(TARGETS OpenCL
72+
LIBRARY DESTINATION ${OV_CPACK_PLUGINSDIR} COMPONENT ${OV_CPACK_COMP_CORE})

0 commit comments

Comments
 (0)