Skip to content

Conversation

@jtravs
Copy link

@jtravs jtravs commented Sep 26, 2018

No description provided.

@ZedThree
Copy link

This also needs target_link_libraries (${fftw3_lib}_omp OpenMP::OpenMP_C) so that the OpenMP dependency is propagated to targets.

if (ENABLE_OPENMP)
target_link_libraries (bench ${fftw3_lib}_omp)
else ()
target_link_libraries (bench ${fftw3_lib})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this else clause is needed, since ${fftw3_lib} should have already been added by the preceding if/else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants