Skip to content

fix cmake 3.31 warnings#1973

Merged
Frenzie merged 2 commits into
koreader:masterfrom
benoit-pierre:pr/fix_cmake_3.31_warnings
Nov 8, 2024
Merged

fix cmake 3.31 warnings#1973
Frenzie merged 2 commits into
koreader:masterfrom
benoit-pierre:pr/fix_cmake_3.31_warnings

Conversation

@benoit-pierre

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

Copy link
Copy Markdown
Member

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.
@Frenzie Frenzie merged commit 8d46979 into koreader:master Nov 8, 2024
@benoit-pierre benoit-pierre deleted the pr/fix_cmake_3.31_warnings branch November 8, 2024 17:00
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