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.
Clarify documentation.
I think this handles the remaining issues to resolve #742.
(Can't re-open #744. So, opening this PR as a replacement.)
Only link to OpenMP if
*_USE_OPENMP
is actuallyON
for the respective library. Don't try to link to OpenMP targets if OpenMP is not available. Clarify documentation.I think this handles the remaining issues to resolve #742.
(Can't re-open #744. So, opening this PR as a replacement.)