From da1b4de48ca24c7d2055e679b658a9bf49953f7f Mon Sep 17 00:00:00 2001 From: wenfangpei Date: Sat, 27 Jun 2020 22:44:30 +0800 Subject: [PATCH] Modify reason: updating log info when building Modify content: Submitter:p00355434 Reviewer: --- cmake/utils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/utils.cmake b/cmake/utils.cmake index 2cdf053..26ef3a6 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -261,7 +261,7 @@ function(mindspore_add_pkg pkg_name ) get_filename_component(_PATCH_FILE_NAME ${_PATCH_FILE} NAME) set(_LF_PATCH_FILE ${CMAKE_BINARY_DIR}/_ms_patch/${_PATCH_FILE_NAME}) configure_file(${_PATCH_FILE} ${_LF_PATCH_FILE} NEWLINE_STYLE LF) - message("patching ${${pkg_name}_SOURCE_DIR} -p1 < ${_LF_PATCH_FILE}") + message("patching ${${pkg_name}_PATCHED_DIR} -p1 < ${_LF_PATCH_FILE}") execute_process(COMMAND patch -p1 INPUT_FILE ${_LF_PATCH_FILE} WORKING_DIRECTORY ${${pkg_name}_PATCHED_DIR} RESULT_VARIABLE Result) -- GitLab