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

new warnings with CMake 3.31 #1208

Open
BenWibking opened this issue Nov 8, 2024 · 0 comments
Open

new warnings with CMake 3.31 #1208

BenWibking opened this issue Nov 8, 2024 · 0 comments

Comments

@BenWibking
Copy link
Collaborator

When configuring a Parthenon build with CMake 3.31.0, these warnings appear:

CMake Warning (dev) at cmake/CodeCov.cmake:132 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:402 (create_pathenon_coverage_targets)
This warning is for project developers.  Use -Wno-dev to suppress it.

and in external/Catch2:

CMake Deprecation Warning at external/Catch2/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant