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

fix cmake 3.31 warnings #1973

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Nov 8, 2024

This change is Reviewable

With 3.31:
```
Compatibility with CMake < 3.10 will be removed from a future version of CMake.
```
With 3.31:
```
Keyword WORKING_DIRECTORY requires a value, but none was given.

  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
  Keyword WORKING_DIRECTORY requires a value, but none was given.
```

Additionally, make calls to `add_custom_command` stricter starting with 3.31.
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