File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ elseif(CPPREST_HTTP_CLIENT_IMPL STREQUAL "winhttppal")
140140 target_link_libraries (cpprest PUBLIC cpprestsdk_boost_internal cpprestsdk_openssl_internal cpprestsdk_winhttppal_internal)
141141elseif (CPPREST_HTTP_CLIENT_IMPL STREQUAL "winhttp" )
142142 target_link_libraries (cpprest PRIVATE
143- httpapi.lib
144143 Winhttp.lib
145144 )
146145 target_sources (cpprest PRIVATE http/client/http_client_winhttp.cpp)
@@ -176,6 +175,9 @@ elseif(CPPREST_HTTP_LISTENER_IMPL STREQUAL "httpsys")
176175 http/listener/http_server_httpsys.cpp
177176 http/listener/http_server_httpsys.h
178177 )
178+ target_link_libraries (cpprest PRIVATE
179+ httpapi.lib
180+ )
179181elseif (CPPREST_HTTP_LISTENER_IMPL STREQUAL "none" )
180182else ()
181183 message (FATAL_ERROR "Invalid implementation" )
You can’t perform that action at this time.
0 commit comments