This is an automated email from the ASF dual-hosted git repository.

lausen pushed a commit to branch leezu-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit 369da390506391b6a3fa9b276d142c8837ca671e
Author: Leonard Lausen <[email protected]>
AuthorDate: Mon Mar 9 09:23:02 2020 -0700

    Disable MKL_USE_STATIC_LIBS by default
---
 cmake/Modules/FindMKL.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/Modules/FindMKL.cmake b/cmake/Modules/FindMKL.cmake
index 9e7adbf..d340a94 100644
--- a/cmake/Modules/FindMKL.cmake
+++ b/cmake/Modules/FindMKL.cmake
@@ -50,7 +50,7 @@ set(INTEL_ROOT "/opt/intel" CACHE PATH "Folder contains intel 
libs")
   else()
     option(MKL_USE_SINGLE_DYNAMIC_LIBRARY "Use single dynamic library 
interface" ON)
   endif()
-  cmake_dependent_option(MKL_USE_STATIC_LIBS "Use static libraries" ON "NOT 
MKL_USE_SINGLE_DYNAMIC_LIBRARY" OFF)
+  cmake_dependent_option(MKL_USE_STATIC_LIBS "Use static libraries" OFF "NOT 
MKL_USE_SINGLE_DYNAMIC_LIBRARY" OFF)
   cmake_dependent_option(MKL_MULTI_THREADED  "Use multi-threading"  ON "NOT 
MKL_USE_SINGLE_DYNAMIC_LIBRARY" OFF)
   option(MKL_USE_ILP64 "Use ilp64 data model" OFF)
   cmake_dependent_option(MKL_USE_CLUSTER "Use cluster functions" OFF 
"CMAKE_SIZEOF_VOID_P EQUAL 4" OFF)

Reply via email to