cmake: initialize internal CURL_INCLUDES variable

Closes #20451
This commit is contained in:
Viktor Szakats 2026-01-27 15:04:05 +01:00
parent f824b4d004
commit 67ad0b0d79
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -1442,6 +1442,8 @@ if(WIN32)
option(CURL_CA_SEARCH_SAFE "Enable safe CA bundle search (within the curl tool directory) on Windows" OFF)
endif()
set(CURL_INCLUDES "")
# Check for header files
if(WIN32)
list(APPEND CURL_INCLUDES "winsock2.h")