Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set INTERFACE_LINK_DIRECTORIES on caffe2::mkl
This ensures that subsequent link commands involving mkl libraries know where to find the libraries if they are in a non-standard location (which is the case if you installed mkl via conda, which is what our standard instructions recommend.) This is kind of a hack, because the MKL libraries are not actually guaranteed to be in $MKL_ROOT/lib (they are for the conda install though). The real fix is to properly use the MKL targets from FindMKL.cmake but thats its own can of fish. See #73008 This fixes pytorch/audio#2784 Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
- Loading branch information