FindBLAS returns dynamic library when asked for static one (Intel MKL, MacOS)
Hello!
I found, that when I do
set(BLA_STATIC ON)
find_package(BLAS)
output is following:
-- Found BLAS: /opt/intel/compilers_and_libraries_2019.4.233/mac/mkl/lib/libmkl_rt.dylib;-lm;-ldl
Somehow Intel single runtime library overrides all the static libraries I am asking for.
This happens with the latest CMake (3.17.0) on MacOS with Intel MKL 2019 installed.