From e085cee42e9571677ebb7c3bd71726d404ce4cac Mon Sep 17 00:00:00 2001 From: yuzhenhua Date: Fri, 16 Apr 2021 15:13:33 +0800 Subject: [PATCH] fix 310 build bug --- .../cv/faster_rcnn/ascend310_infer/src/CMakeLists.txt | 4 ++-- .../official/cv/maskrcnn/ascend310_infer/src/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/model_zoo/official/cv/faster_rcnn/ascend310_infer/src/CMakeLists.txt b/model_zoo/official/cv/faster_rcnn/ascend310_infer/src/CMakeLists.txt index 6692617862b..8a58c082ee7 100755 --- a/model_zoo/official/cv/faster_rcnn/ascend310_infer/src/CMakeLists.txt +++ b/model_zoo/official/cv/faster_rcnn/ascend310_infer/src/CMakeLists.txt @@ -23,10 +23,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SRC_ROOT}/out) # Set include directory and library directory set(ACL_LIB_DIR $ENV{ASCEND_HOME}/acllib) -set(ATLAS_ACL_LIB_DIR ${ASCEND_HOME}/ascend-toolkit/latest/acllib) +set(ATLAS_ACL_LIB_DIR $ENV{ASCEND_HOME}/ascend-toolkit/latest/acllib) # Header path include_directories(${ACL_LIB_DIR}/include/) -include_directories(${ATLAS_ACL_LIB_DIR}/include/}) +include_directories(${ATLAS_ACL_LIB_DIR}/include/) include_directories(${PROJECT_SRC_ROOT}/../inc) # add host lib path diff --git a/model_zoo/official/cv/maskrcnn/ascend310_infer/src/CMakeLists.txt b/model_zoo/official/cv/maskrcnn/ascend310_infer/src/CMakeLists.txt index 6692617862b..8a58c082ee7 100755 --- a/model_zoo/official/cv/maskrcnn/ascend310_infer/src/CMakeLists.txt +++ b/model_zoo/official/cv/maskrcnn/ascend310_infer/src/CMakeLists.txt @@ -23,10 +23,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SRC_ROOT}/out) # Set include directory and library directory set(ACL_LIB_DIR $ENV{ASCEND_HOME}/acllib) -set(ATLAS_ACL_LIB_DIR ${ASCEND_HOME}/ascend-toolkit/latest/acllib) +set(ATLAS_ACL_LIB_DIR $ENV{ASCEND_HOME}/ascend-toolkit/latest/acllib) # Header path include_directories(${ACL_LIB_DIR}/include/) -include_directories(${ATLAS_ACL_LIB_DIR}/include/}) +include_directories(${ATLAS_ACL_LIB_DIR}/include/) include_directories(${PROJECT_SRC_ROOT}/../inc) # add host lib path