Skip to content
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

Fix dependency build failure on old cmake versions #1176

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

sfod
Copy link
Contributor

@sfod sfod commented Dec 10, 2024

Issue #, if available:

aws-lc can't be prebuilt on Ubuntu 18: awslabs/aws-crt-cpp#691

Description of changes:

Apparently, CMake prior to v3.13 requires that the -B<BUILD_DIRECTORY> option should come after the source directory argument:

cmake source_dir/ -Bbuild_dir

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

cmake/AwsPrebuildDependency.cmake Outdated Show resolved Hide resolved
@sfod sfod enabled auto-merge (squash) December 10, 2024 23:31
@sfod sfod merged commit 7a6f5df into main Dec 10, 2024
56 checks passed
@sfod sfod deleted the fix-prebuild-for-old-cmake branch December 10, 2024 23:52
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.

3 participants