aws-sdk-cpp
aws-sdk-cpp copied to clipboard
build: fix building without external dependencies
Issue #, if available:
Configuration fails with -DBUILD_DEPS=OFF
because the cmake file containing the AwsFindPackage() macro is located in one of the submodules.
Description of changes:
Pull the relevant file into the main git repo to fix it.
Check all that applies:
- [ ] Did a review by yourself.
- [ ] Added proper tests to cover this PR. (If tests are not applicable, explain.)
- [x] Checked if this PR is a breaking (APIs have been changed) change.
- [x] Checked if this PR will not introduce cross-platform inconsistent behavior.
- [x] Checked if this PR would require a ReadMe/Wiki update.
Tests not applicable, patch affects the build system.
Check which platforms you have built SDK on to verify the correctness of this PR.
- [x] Linux
- [ ] Windows
- [ ] Android
- [ ] MacOS
- [ ] IOS
- [ ] Other Platforms
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
#1888