diff --git a/mindspore/lite/tools/benchmark_train/CMakeLists.txt b/mindspore/lite/tools/benchmark_train/CMakeLists.txt index aad0a05508f..b420dfa2c33 100644 --- a/mindspore/lite/tools/benchmark_train/CMakeLists.txt +++ b/mindspore/lite/tools/benchmark_train/CMakeLists.txt @@ -23,8 +23,8 @@ if(PLATFORM_ARM32 OR PLATFORM_ARM64) endif() else() if(WIN32) - target_link_libraries(benchmark_train mindspore-lite_static mindspore-lite-train_static pthread cpu_kernel_mid - nnacl_mid minddata-lite) + target_link_libraries(benchmark_train mindspore-lite_static mindspore-lite-train_static pthread + cpu_kernel_mid cpu_kernel_random_standard_normal nnacl_mid minddata-lite) else() target_link_libraries(benchmark_train mindspore-lite mindspore-lite-train pthread minddata-lite) endif() diff --git a/mindspore/lite/tools/converter/CMakeLists.txt b/mindspore/lite/tools/converter/CMakeLists.txt index 891ecadce54..f78b72fcf3d 100644 --- a/mindspore/lite/tools/converter/CMakeLists.txt +++ b/mindspore/lite/tools/converter/CMakeLists.txt @@ -183,6 +183,7 @@ target_link_libraries(converter_lite PRIVATE cpu_ops_mid nnacl_mid cpu_kernel_mid + cpu_kernel_random_standard_normal tflite_parser_mid tf_parser_mid caffe_parser_mid