Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Don't look for OpenCL and CUDA packages if build isn't using them #216

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

swofford
Copy link
Contributor

@swofford swofford commented Mar 9, 2024

This is just a little tweak to the cmake build in order to eliminate inappropriate error messages when BUILD_CUDA=OFF and/or BUILD_OPENCL=OFF are specified.

I think this patch may fix issue #202, but this should be confirmed.

Fixes: If -DBUILD_CUDA=OFF or -DBUILD_OPENCL=OFF is specified, irrelevant
warnings are output if these packages aren't available, even though they
won't be used.
@msuchard msuchard merged commit ae20a44 into beagle-dev:master Mar 10, 2024
2 checks passed
@msuchard
Copy link
Member

@swofford -- many thanks!

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.

2 participants