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 find_package deprecation warnings #4792

Closed
jngrad opened this issue Sep 25, 2023 · 1 comment
Closed

CMake find_package deprecation warnings #4792

jngrad opened this issue Sep 25, 2023 · 1 comment
Assignees
Labels

Comments

@jngrad
Copy link
Member

jngrad commented Sep 25, 2023

CMake deprecated find_package(CUDA) and find_package(PythonInterp) in releases 3.10 resp. 3.12. Starting with release 3.27.6, a warning is generated. This affects the 4.0, 4.1 and 4.2 lines of ESPResSo. The warning can be silenced by activating CMake policies CMP0146 resp. CMP0148, which indicate the deprecated find package methods are desired.

The development version of ESPResSo is unaffected, because it uses the recommended methods for detecting Python and CUDA libraries.

@jngrad jngrad added the CMake label Sep 25, 2023
@jngrad jngrad added this to the ESPResSo 4.2.2 milestone Sep 25, 2023
@jngrad jngrad self-assigned this Sep 25, 2023
@jngrad
Copy link
Member Author

jngrad commented Dec 5, 2023

Fixed in the draft 4.2.2 PR.

@jngrad jngrad closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant