From 363538803a5138d3a554e34f30faf9c99156a0ef Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Tue, 16 Jan 2018 19:07:37 +0800 Subject: [PATCH] set WITH_FLUID=OFF when WITH_C_API=ON --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b701eb00e8b..ad1b6f23c9d 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() -- GitLab