Configuration file cannot be used with CMake 3.22.0
ahmedyarub opened this issue · 3 comments
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- I've gone though Developer Guide and API reference
- I've searched for previous similar issues and didn't find any solution
Describe the bug
There is a change in 3.22.0 reported here https://gitlab.kitware.com/cmake/cmake/-/issues/22524 which breaks AWSSDKConfig.cmake. A fix is already reported here #1810.
SDK version number
1.9.152
Platform/OS/Hardware/Device
All (Windows, Linux, MacOS, iOS, Android, and Emscripten)
To Reproduce (observed behavior)
1- Build and install SDK.
2- Use find_package() in a project that consumes the SDK.
Expected behavior
The SDK is imported and built without errors.
Logs/output
CMake Error at ...../AWSSDKConfig.cmake:128 (while):
had incorrect arguments:
"NOT" "TEMP_NAME" "STREQUAL"
Unknown arguments specified
To enable logging, set the following system properties:
REMEMBER TO SANITIZE YOUR PERSONAL INFO
options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace;
Aws::InitAPI(options)
Additional context
Add any other context about the problem here.
Hi @ahmedyarub ,
Yea sorry for the delay getting this fix merged, I'll get to it. Thanks for the PR and the heads up.
This change has been merged.
Thanks for the contribution!
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.