summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-17 08:25:56 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-17 08:25:56 -0500
commit1b8d14ac2a31eb48665ffbf2a984399a77ea62d8 (patch)
tree58e2c2373e861c1d33d7cf33ba1355ecbc5b1ecc /cmake
parent4a54d8e39e053377a877c65e897f2424b11a51e4 (diff)
downloadlibgit2-1b8d14ac2a31eb48665ffbf2a984399a77ea62d8.tar.gz
cmake: use WINHTTP when USE_WINHTTP is specifiedethomson/cmake_test
Diffstat (limited to 'cmake')
-rw-r--r--cmake/SelectWinHTTP.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/SelectWinHTTP.cmake b/cmake/SelectWinHTTP.cmake
index 1d950c900..667b4007e 100644
--- a/cmake/SelectWinHTTP.cmake
+++ b/cmake/SelectWinHTTP.cmake
@@ -1,4 +1,4 @@
-if(WIN32 AND WINHTTP)
+if(WIN32 AND USE_WINHTTP)
set(GIT_WINHTTP 1)
# Since MinGW does not come with headers or an import library for winhttp,