Skip to content

Commit fdf99bb

Browse files
committed
follow comment
1 parent 1aeb6c5 commit fdf99bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/inference_lib.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ elseif (WITH_MKLML)
9999
endif()
100100

101101
if(WITH_MKLDNN)
102-
set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/")
102+
set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/mkldnn")
103103
copy(mkldnn_lib
104-
SRCS ${MKLDNN_INSTALL_DIR}
105-
DSTS ${dst_dir}
104+
SRCS ${MKLDNN_INC_DIR} ${MKLDNN_SHARED_LIB}
105+
DSTS ${dst} ${dst_dir}/lib
106106
)
107107
endif()
108108

0 commit comments

Comments
 (0)