-
Notifications
You must be signed in to change notification settings - Fork 67
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 Deprecation Warnings #606
Comments
For what it's worth, https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup-linux.html specifies the CMake minimum versions as 3.13. |
Note that CRT and SDK are separate projects, with CRT being a dependency of CPP SDK. And while CPP SDK has a min cmake version 3.13, CRT supports much older cmake versions. We do want to increase our min version in the future, but as of right now we dont have a concrete date on when that might happen |
It's possible to shut these warnings up by stating that your project is known to be compatible with later versions, like: unfortunately, this isn't supported until cmake 3.12, so the code would need to be like:
|
You should no longer see any deprecation warnings from any of the crt repositories. We have updated our minimum cmake version to 3.9. You might still see some other cmake warnings from other dependencies. One of them is s2n-tls. I opened an issue here asking them to fix it. |
Describe the bug
I am using v0.26.4 and getting many warnings like this when building:
The fix is given the last two lines there.
Expected Behavior
No warnings when building
Current Behavior
See above
Reproduction Steps
Build with the library
Possible Solution
No response
Additional Information/Context
No response
aws-crt-cpp version used
0.26.4
Compiler and version used
gcc version 13.2.0 (Ubuntu 13.2.0-4ubuntu3)
Operating System and version
Ubuntu 23.10
The text was updated successfully, but these errors were encountered: