DrTimothyAldenDavis / SuiteSparse

The official SuiteSparse library: a suite of sparse matrix algorithms authored or co-authored by Tim Davis, Texas A&M University.
https://people.engr.tamu.edu/davis/suitesparse.html
Other
1.14k stars 258 forks source link

CMake: Try to handle `*_USE_OPENMP` more consistently. #744

Closed mmuetzel closed 7 months ago

mmuetzel commented 7 months ago

Only link to OpenMP if *_USE_OPENMP is actually ON for the respective library. Don't try to link to OpenMP targets if OpenMP is not available.

I think this handles the remaining issues to resolve #742.

mmuetzel commented 7 months ago

@DrTimothyAldenDavis: Could you please reopen this PR. I must have closed it somehow...

mmuetzel commented 7 months ago

Trying to re-open...