You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "palash25 (via GitHub)" <gi...@apache.org> on 2024/11/11 12:57:15 UTC
[I] bug: bindings/c Bump CMake version to allow successful builds of the binary [opendal]
palash25 opened a new issue, #5307:
URL: https://github.com/apache/opendal/issues/5307
### Describe the bug
under `bindings/c` the `CMakeLists.txt` file mentions the following CMake policy `cmake_policy(SET CMP0135 NEW)` but the minimum version of CMake is set to `3.22` whereas the policy used was introduced in version `3.24`
### Steps to Reproduce
Go to `bindings/c` and follow the instructions in `CONTRIBUTING.md`. Running cmake will produce this error
```shell
cmake ..
CMake Error at CMakeLists.txt:19 (cmake_policy):
Policy "CMP0135" is not known to this version of CMake.
```
### Expected Behavior
The build should succeed without any errors given the minimum version of CMake installed is correct
### Additional Context
https://cmake.org/cmake/help/latest/policy/CMP0135.html
### Are you willing to submit a PR to fix this bug?
- [X] Yes, I would like to submit a PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: bindings/c Bump CMake version to allow successful builds of the binary [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #5307: bug: bindings/c Bump CMake version to allow successful builds of the binary
URL: https://github.com/apache/opendal/issues/5307
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org