febiosoftware / FEBio

FEBio Suite Solver
https://febio.org/
MIT License
184 stars 68 forks source link

CMake: Fix find_library and allow for different mkl folder structures #43

Closed Scriptkiddi closed 2 years ago

Scriptkiddi commented 2 years ago

Hey thanks for taking the time to review this. Any chance on also adding the change to the CMakeList.txt otherwise .so files are not searched for.

         find_library(TEMP NAMES lib${libName}.a lib${ARGV3}.a lib${ARGV4}.a lib${ARGV5}.a lib${ARGV6}.a lib${libName}.so lib${ARGV3}.so lib${ARGV4}.so lib${ARGV5}.so lib${ARGV6}.so