febiosoftware / FEBio

FEBio Suite Solver
https://febio.org/
MIT License
174 stars 65 forks source link

CMake fails to find mkl libraries and include directories on arch linux #79

Open AugustusGreenwood opened 8 months ago

AugustusGreenwood commented 8 months ago
find_path(MKL_INC mkl.h 
    PATHS ${MKLROOT}/latest/include ${MKLROOT}/include
    DOC "MKL include directory")

find_library(MKL_CORE mkl_core
    PATHS ${MKLROOT}/latest/lib ${MKLROOT}/lib/intel64
    NO_DEFAULT_PATH)

find_library(MKL_OMP_LIB 
    NAMES iomp5 iomp5md libiomp5md.lib
    PATHS ${MKLROOT}/../compiler/latest/*/compiler/lib ${MKLROOT}/../../lib/intel64
    NO_DEFAULT_PATH
    DOC "MKL OMP Library")

Would there be any interest in merging a pull request fixing this?