From 2b14208b567b923d0cf8b04d283ed8d838225e4d Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Thu, 15 Oct 2020 10:13:56 +0800 Subject: [PATCH] update thirdparty include path --- ge/CMakeLists.txt | 4 ++++ ge/common/CMakeLists.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ge/CMakeLists.txt b/ge/CMakeLists.txt index bb586bd5..a1f558a7 100755 --- a/ge/CMakeLists.txt +++ b/ge/CMakeLists.txt @@ -360,6 +360,8 @@ target_include_directories(ge_runner PRIVATE #### blue zone ${ASCEND_DIR}/driver/include ${ASCEND_DIR}/fwkacllib/include + ${GE_CODE_DIR}/third_party/fwkacllib/inc + ${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain ) target_link_libraries(ge_runner @@ -678,6 +680,8 @@ target_include_directories(ge_compiler PRIVATE #### blue zone ${ASCEND_DIR}/driver/include ${ASCEND_DIR}/fwkacllib/include + ${GE_CODE_DIR}/third_party/fwkacllib/inc + ${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain ) target_link_libraries(ge_compiler diff --git a/ge/common/CMakeLists.txt b/ge/common/CMakeLists.txt index c8b1934c..685a6fe2 100755 --- a/ge/common/CMakeLists.txt +++ b/ge/common/CMakeLists.txt @@ -96,6 +96,8 @@ target_include_directories(ge_common PRIVATE ${GE_DEPEND_DIR}/inc/cce #### blue zone #### #${GE_DEPEND_DIR}/include + ${GE_CODE_DIR}/third_party/fwkacllib/inc + ${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain ) target_link_libraries(ge_common PRIVATE @@ -147,6 +149,8 @@ target_include_directories(ge_common_static PRIVATE ${GE_DEPEND_DIR}/inc/cce #### blue zone #### #${GE_DEPEND_DIR}/include + ${GE_CODE_DIR}/third_party/fwkacllib/inc + ${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain ) target_link_libraries(ge_common_static PRIVATE