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

cmake: simplify if expressions, accept CPU values more consistently #938

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

vszakats
Copy link
Contributor

@vszakats vszakats commented Nov 7, 2023

  • simplify MATCHES/STREQUAL syntax.

  • always check CMAKE_SYSTEM_PROCESSOR with MATCHES.

    This makes it accept values consistently. Before this patch
    mingw-w64, Apple and SunOS did not accept a CPU if it had
    a suffix or prefix (e.g. a triplet), while other targets did.

This makes it accept values consistently. Before this patch
mingw-w64, Apple and SunOS did not accept a CPU if it had
a suffix or prefix (e.g. a triplet), while other targets did.
@busterb busterb self-assigned this Nov 8, 2023
@busterb busterb merged commit b16146e into libressl:master Nov 8, 2023
33 checks passed
busterb added a commit that referenced this pull request Nov 8, 2023
@vszakats vszakats deleted the cmake-tidy branch November 8, 2023 01:36
vszakats added a commit to curl/curl-for-win that referenced this pull request Nov 8, 2023
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.

2 participants