mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
cmake: fix ENABLE_UNIX_SOCKETS=OFF with pre-fill enabled on unix
Cherry-picked from #17988
This commit is contained in:
parent
f99210b49c
commit
c85ee70e21
1 changed files with 1 additions and 0 deletions
|
|
@ -1502,6 +1502,7 @@ if(ENABLE_UNIX_SOCKETS AND NOT WINCE)
|
|||
check_struct_has_member("struct sockaddr_un" "sun_path" "sys/un.h" USE_UNIX_SOCKETS)
|
||||
endif()
|
||||
else()
|
||||
set(USE_UNIX_SOCKETS 0)
|
||||
unset(USE_UNIX_SOCKETS CACHE)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue