From 1701cf0e4b871a8e87f92b6a8debfb9490dca45c Mon Sep 17 00:00:00 2001 From: JiabinYang Date: Tue, 4 Sep 2018 08:09:49 +0000 Subject: [PATCH] fix mac compile error in release --- paddle/fluid/inference/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/inference/CMakeLists.txt b/paddle/fluid/inference/CMakeLists.txt index 73a589664ec..3c3a7da1031 100644 --- a/paddle/fluid/inference/CMakeLists.txt +++ b/paddle/fluid/inference/CMakeLists.txt @@ -17,6 +17,7 @@ get_property(fluid_modules GLOBAL PROPERTY FLUID_MODULES) # paddle_fluid_origin exclude inference api interface cc_library(paddle_fluid_origin DEPS ${fluid_modules} paddle_fluid_api) +# fix macos compile error add_subdirectory(api) # Create static library -- GitLab