Skip to content

Commit 7841792

Browse files
committed
Fix DNNL build
1 parent b3a34bb commit 7841792

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmake/onnxruntime_unittests.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,13 @@ block()
12201220
${TEST_SRC_DIR}/common/tensor_op_test_utils.h
12211221
)
12221222

1223+
if (onnxruntime_USE_DNNL)
1224+
list(APPEND supporting_test_srcs
1225+
${TEST_SRC_DIR}/common/dnnl_op_test_utils.cc
1226+
${TEST_SRC_DIR}/common/dnnl_op_test_utils.h
1227+
)
1228+
endif()
1229+
12231230
list(APPEND onnxruntime_provider_test_srcs
12241231
${supporting_test_srcs}
12251232
${onnxruntime_unittest_main_src}

0 commit comments

Comments
 (0)