* CMake support to link against static Intel MKL
Static linking of Intel MKL is turned off by default.
Note that this however increases binary size of CPU backend by ~200MB and
OpenCL backend by ~100MB, respectively.
* remove generator expressions in favor of if-else
Static linking of Intel MKL is turned off by default.
Note that this however increases binary size of CPU backend by ~200MB and
OpenCL backend by ~100MB, respectively.
Resolves #2671