diff --git a/cmake/package_tar.cmake b/cmake/package_tar.cmake index b22f2e309b9..9d547973fcf 100644 --- a/cmake/package_tar.cmake +++ b/cmake/package_tar.cmake @@ -143,8 +143,8 @@ install( ## Public header files for mindapi install( - DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/core/base - ${CMAKE_SOURCE_DIR}/mindspore/core/ir + DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/core/mindapi/base + ${CMAKE_SOURCE_DIR}/mindspore/core/mindapi/ir DESTINATION ${INSTALL_BASE_DIR}/include/mindapi COMPONENT mindspore )