[TOC]
概述
下载地址:https://github.com/PaddlePaddle/Paddle-Lite/releases/tag/v2.11
设置paddle-lite集成路径
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| if (USE_PADDLE_LITE) set(PADDLE_LITE_VERSION v2.11) set(PADDLE_LITE_DIR ${LIB_DIR}/paddle-lite/${PADDLE_LITE_VERSION}) set(PADDLE_LITE_INCLUDE_DIR ${PADDLE_LITE_DIR}/${TARGET_OS}-${TARGET_ARCH}/include/) set(PADDLE_LITE_LINK_DIR ${PADDLE_LITE_DIR}/${TARGET_OS}-${TARGET_ARCH}/lib/) set(PADDLE_LITE_LIB paddle_api_light_bundled) message(STATUS "[Dependency] paddle-lite PADDLE_LITE_DIR=" ${PADDLE_LITE_DIR}) message(STATUS "[Dependency] paddle-lite PADDLE_LITE_INCLUDE_DIR = ${PADDLE_LITE_INCLUDE_DIR}") message(STATUS "[Dependency] paddle-lite PADDLE_LITE_LINK_DIR = ${PADDLE_LITE_LINK_DIR}") message(STATUS "[Dependency] paddle-lite PADDLE_LITE_LIB = ${PADDLE_LITE_LIB}") endif ()
|