diff --git a/serving/CMakeLists.txt b/serving/CMakeLists.txt index 4529323fe14f36af2f12e814f8c36dbefadf7294..fdd56fffc412b0033894ecc2abe6b578a315a6b9 100644 --- a/serving/CMakeLists.txt +++ b/serving/CMakeLists.txt @@ -61,7 +61,7 @@ add_custom_command( # Include generated *.pb.h files include_directories("${CMAKE_CURRENT_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/core" - "${PROJECT_SOURCE_DIR}/mindspore/ccsrc") + "${PROJECT_SOURCE_DIR}/mindspore/ccsrc" "${PROJECT_SOURCE_DIR}/mindspore/core") file(GLOB_RECURSE CORE_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "core/*.cc" "core/util/*.cc" "core/version_control/*.cc")