Skip to content

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Aug 9, 2023

This caused a CMake error instead of our custom error when manually selecting the WinCNG crypto-backend for a non-Windows target.

Also cleanup STREQUAL checks to use variable name without ${} on the left side and quoted string literals on the right.

Closes #1151

This caused a CMake error instead of our custom error when manually
selecting the `WinCNG` crypto-backend for a non-Windows target.

Also cleanup `STREQUAL` checks to use variable name without `${}` on
the left side and quoted string literals on the right.

Closes libssh2#1150
@vszakats vszakats changed the title cmake: fix an STREQUAL check cmake: fix STREQUAL check in error branch Aug 9, 2023
@vszakats vszakats closed this in 42d3bf1 Aug 9, 2023
@vszakats vszakats deleted the cmake-string-fix branch August 9, 2023 15:49
lampmanyao pushed a commit to lampmanyao/libssh2 that referenced this pull request Sep 3, 2023
This caused a CMake error instead of our custom error when manually
selecting the `WinCNG` crypto-backend for a non-Windows target.

Also cleanup `STREQUAL` checks to use variable name without `${}` on
the left side and quoted string literals on the right.

Closes libssh2#1151
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
This caused a CMake error instead of our custom error when manually
selecting the `WinCNG` crypto-backend for a non-Windows target.

Also cleanup `STREQUAL` checks to use variable name without `${}` on
the left side and quoted string literals on the right.

Closes libssh2#1151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant