Skip to content

Commit 81d3829

Browse files
committed
disable mkl for windows
1 parent ab9a49b commit 81d3829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ if(ANDROID OR IOS)
103103
add_definitions(-DPADDLE_MOBILE_INFERENCE)
104104
endif()
105105

106-
if (APPLE)
106+
if (APPLE OR WIN32)
107107
set(WITH_MKL OFF CACHE STRING
108-
"Disable MKL for building on mac" FORCE)
108+
"Disable MKL for building on mac and windows" FORCE)
109109
endif()
110110

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

0 commit comments

Comments
 (0)