fix the error or warning file path can not show completely

This commit is contained in:
zhaodezan 2020-08-25 07:30:13 -04:00
parent b2ba24e815
commit ca52d7fbf6
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ endif()
set(RUN_X86_COMPONENT_NAME runtime-x86-${PROCESS_UNIT})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
set(TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../..)
string(REPLACE "/mindspore/lite" "" TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(CORE_DIR ${TOP_DIR}/mindspore/core)
set(CCSRC_DIR ${TOP_DIR}/mindspore/ccsrc)
include_directories(${TOP_DIR})