From 81d382936c084cca7fa0c244cca92708780e31f3 Mon Sep 17 00:00:00 2001 From: typhoonzero Date: Tue, 10 Jul 2018 13:40:13 +0800 Subject: [PATCH] disable mkl for windows --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3169086044c..db3c3b8e206 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,9 +103,9 @@ if(ANDROID OR IOS) add_definitions(-DPADDLE_MOBILE_INFERENCE) endif() -if (APPLE) +if (APPLE OR WIN32) set(WITH_MKL OFF CACHE STRING - "Disable MKL for building on mac" FORCE) + "Disable MKL for building on mac and windows" FORCE) endif() set(THIRD_PARTY_PATH "${CMAKE_BINARY_DIR}/third_party" CACHE STRING -- GitLab