未验证 提交 4473effb 编写于 作者: Y Yancey 提交者: GitHub

fix build capi failed (#10694)

* fix build capi

* update by comment
上级 ed748dae
...@@ -24,6 +24,6 @@ if(NOT WITH_FLUID_ONLY) ...@@ -24,6 +24,6 @@ if(NOT WITH_FLUID_ONLY)
endif() endif()
add_subdirectory(testing) add_subdirectory(testing)
if(NOT MOBILE_INFERENCE AND NOT RPI) if(NOT MOBILE_INFERENCE AND NOT RPI AND NOT WITH_C_API)
add_subdirectory(fluid) add_subdirectory(fluid)
endif() endif()
...@@ -504,6 +504,7 @@ function main() { ...@@ -504,6 +504,7 @@ function main() {
;; ;;
capi) capi)
cmake_gen ${PYTHON_ABI:-""} cmake_gen ${PYTHON_ABI:-""}
build
gen_capi_package gen_capi_package
;; ;;
fluid_inference_lib) fluid_inference_lib)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册