Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CPPREST_HTTP_LISTENER_IMPL="httpsys" with CPPREST_HTTP_CLIENT_IMPL="asio" #1253

Merged
merged 1 commit into from
Oct 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Release/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ elseif(CPPREST_HTTP_CLIENT_IMPL STREQUAL "winhttppal")
target_link_libraries(cpprest PUBLIC cpprestsdk_boost_internal cpprestsdk_openssl_internal cpprestsdk_winhttppal_internal)
elseif(CPPREST_HTTP_CLIENT_IMPL STREQUAL "winhttp")
target_link_libraries(cpprest PRIVATE
httpapi.lib
Winhttp.lib
)
target_sources(cpprest PRIVATE http/client/http_client_winhttp.cpp)
Expand Down Expand Up @@ -176,6 +175,9 @@ elseif(CPPREST_HTTP_LISTENER_IMPL STREQUAL "httpsys")
http/listener/http_server_httpsys.cpp
http/listener/http_server_httpsys.h
)
target_link_libraries(cpprest PRIVATE
httpapi.lib
)
elseif(CPPREST_HTTP_LISTENER_IMPL STREQUAL "none")
else()
message(FATAL_ERROR "Invalid implementation")
Expand Down