diff --git a/cmake/package_plugin.cmake b/cmake/package_plugin.cmake index b84050e50d6..c71a7ccff08 100644 --- a/cmake/package_plugin.cmake +++ b/cmake/package_plugin.cmake @@ -72,9 +72,10 @@ endif() if(ENABLE_GPU) install( - TARGETS mindspore_gpu + TARGETS mindspore_gpu LIBRARY DESTINATION ${INSTALL_PLUGIN_DIR} COMPONENT mindspore + NAMELINK_SKIP ) if(ENABLE_MPI) install(