mpicbg-scicomp / gearshifft

Benchmark Suite for Heterogenuous FFT Implementations
Apache License 2.0
34 stars 9 forks source link

FFTWWrappers should respect GEARSHIFFT_USE_STATIC_LIBS #139

Closed emmenlau closed 5 years ago

emmenlau commented 5 years ago

This PR makes FFTWWrappers respect the variable GEARSHIFFT_USE_STATIC_LIBS. With this PR applied, FindFFTWWrappers.cmake will prefer static MKL libraries if GEARSHIFFT_USE_STATIC_LIBS=ON, and shared MKL libraries otherwise. There is always a fallback to the unspecific library name, so even if GEARSHIFFT_USE_STATIC_LIBS is set but no preferred version of the library is found, FindFFTWWrappers.cmake should fallback to whatever MKL libraries are available.

This PR depends on 14e9dac from PR #137, so please review/merge PR #137 first :-)