Commit 1b8d14ac2a31eb48665ffbf2a984399a77ea62d8

Edward Thomson 2021-11-17T08:25:56

cmake: use WINHTTP when USE_WINHTTP is specified

1
2
3
4
5
6
7
8
9
10
diff --git a/cmake/SelectWinHTTP.cmake b/cmake/SelectWinHTTP.cmake
index 1d950c9..667b400 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,