Skip to content

Commit 2246e87

Browse files
RahulHereRahulHere
authored andcommitted
Move HTTP transport sources out of LLHTTP conditional
The http_sse_transport_socket.cc and https_sse_transport_factory.cc files don't actually depend on llhttp - only llhttp_parser.cc does. Moving them out of the conditional fixes Windows ARM64 build which doesn't use llhttp.
1 parent 1979e58 commit 2246e87

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,17 +485,17 @@ set(MCP_CLIENT_SERVER_SOURCES
485485
src/server/mcp_server.cc
486486
)
487487

488-
# HTTP parser sources (conditional on llhttp)
488+
# HTTP parser sources (some conditional on llhttp)
489489
set(MCP_HTTP_SOURCES
490490
src/http/http_parser.cc
491491
src/http/sse_parser.cc
492+
src/transport/http_sse_transport_socket.cc # HTTP+SSE with layered architecture
493+
src/transport/https_sse_transport_factory.cc # HTTPS+SSE factory
492494
)
493495

494496
if(LLHTTP_FOUND)
495497
list(APPEND MCP_HTTP_SOURCES
496498
src/http/llhttp_parser.cc
497-
src/transport/http_sse_transport_socket.cc # HTTP+SSE with layered architecture
498-
src/transport/https_sse_transport_factory.cc # HTTPS+SSE factory
499499
)
500500
endif()
501501

0 commit comments

Comments
 (0)