diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-10 21:02:42 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 15:56:10 -0500 |
commit | 789ab915607c3d91d8c04fd217de9bf37c631f5f (patch) | |
tree | cd838db4a89aa73c8bc28eb2f1598277b4c95c9c /cmake | |
parent | 9324d16e7356c1928d577a719eaaad264da58b13 (diff) | |
download | libgit2-789ab915607c3d91d8c04fd217de9bf37c631f5f.tar.gz |
cmake: standardize USE_WINHTTP
WinHTTP can now be disabled with `USE_WINHTTP=OFF` instead of
`WINHTTP=OFF` to better support the other cmake semantics.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/SelectHTTPSBackend.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/SelectHTTPSBackend.cmake b/cmake/SelectHTTPSBackend.cmake index 4998f0f2a..4af747417 100644 --- a/cmake/SelectHTTPSBackend.cmake +++ b/cmake/SelectHTTPSBackend.cmake @@ -19,7 +19,7 @@ IF(USE_HTTPS) MESSAGE(STATUS "Security framework is too old, falling back to OpenSSL") SET(USE_HTTPS "OpenSSL") ENDIF() - ELSEIF (WINHTTP) + ELSEIF (USE_WINHTTP) SET(USE_HTTPS "WinHTTP") ELSEIF(OPENSSL_FOUND) SET(USE_HTTPS "OpenSSL") |