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")
140
140
target_link_libraries (cpprest PUBLIC cpprestsdk_boost_internal cpprestsdk_openssl_internal cpprestsdk_winhttppal_internal )
141
141
elseif (CPPREST_HTTP_CLIENT_IMPL STREQUAL "winhttp" )
142
142
target_link_libraries (cpprest PRIVATE
143
- httpapi.lib
144
143
Winhttp.lib
145
144
)
146
145
target_sources (cpprest PRIVATE http/client/http_client_winhttp.cpp )
@@ -176,6 +175,9 @@ elseif(CPPREST_HTTP_LISTENER_IMPL STREQUAL "httpsys")
176
175
http/listener/http_server_httpsys.cpp
177
176
http/listener/http_server_httpsys.h
178
177
)
178
+ target_link_libraries (cpprest PRIVATE
179
+ httpapi.lib
180
+ )
179
181
elseif (CPPREST_HTTP_LISTENER_IMPL STREQUAL "none" )
180
182
else ()
181
183
message (FATAL_ERROR "Invalid implementation" )
You can’t perform that action at this time.
0 commit comments