diff --git a/CMakeLists.txt b/CMakeLists.txt index b701eb00e8b0e97c6854e1b0db438f22a5f305fa..ad1b6f23c9da17de0fa65cc6f53648952a0566b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,10 @@ if (WITH_C_API AND WITH_PYTHON) "different Python interpreter from compiling.") endif() +if (WITH_C_API) + set(WITH_FLUID OFF CACHE STRING "Disable install fluid when compile the C_API" FORCE) +endif() + if(MOBILE_INFERENCE) set(THIRD_PARTY_BUILD_TYPE MinSizeRel) else()