Skip to content

Commit 3bad78e

Browse files
committed
Merge branch 'windows/online' of https://github.com/wopeizl/paddle into windows/online
test=develop
2 parents f95b050 + 6193dc7 commit 3bad78e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ if (WIN32)
139139
"Disable MKL when compiling for Windows" FORCE)
140140
set(WITH_DISTRIBUTE OFF CACHE STRING
141141
"Disable DISTRIBUTE when compiling for Windows" FORCE)
142+
set(WITH_C_API OFF CACHE STRING
143+
"Disable C_API when compiling for Windows" FORCE)
144+
set(WITH_FLUID_ONLY ON CACHE STRING
145+
"Enable FLUID_ONLY when compiling for Windows" FORCE)
142146
endif()
143147

144148
set(THIRD_PARTY_PATH "${CMAKE_BINARY_DIR}/third_party" CACHE STRING

0 commit comments

Comments
 (0)