at master 642 B view raw
1diff --git a/cmake/public/mkl.cmake b/cmake/public/mkl.cmake 2index 2f6d1fd905..f30464be07 100644 3--- a/cmake/public/mkl.cmake 4+++ b/cmake/public/mkl.cmake 5@@ -16,12 +16,6 @@ foreach(MKL_LIB IN LISTS MKL_LIBRARIES) 6 endif() 7 endforeach() 8 9-# TODO: This is a hack, it will not pick up architecture dependent 10-# MKL libraries correctly; see https://github.com/pytorch/pytorch/issues/73008 11-set_property( 12- TARGET caffe2::mkl PROPERTY INTERFACE_LINK_DIRECTORIES 13- ${MKL_ROOT}/lib ${MKL_ROOT}/lib/intel64 ${MKL_ROOT}/lib/intel64_win ${MKL_ROOT}/lib/win-x64) 14- 15 if(UNIX) 16 if(USE_STATIC_MKL) 17 foreach(MKL_LIB_PATH IN LISTS MKL_LIBRARIES)