1
0
Fork 0

patches: fix web_service linkage

This commit is contained in:
liushuyu 2022-02-08 19:06:40 -07:00
parent 4a25a530ba
commit de62e6cf30
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ index 1a9dfe836..60dbebc90 100644
+ DEFINITION OPENSSL_LIBS) + DEFINITION OPENSSL_LIBS)
+ +
+ target_compile_definitions(network PRIVATE -DENABLE_WEB_SERVICE -DCPPHTTPLIB_OPENSSL_SUPPORT) + target_compile_definitions(network PRIVATE -DENABLE_WEB_SERVICE -DCPPHTTPLIB_OPENSSL_SUPPORT)
+ target_link_libraries(network PRIVATE web_service ${OPENSSL_LIBS} httplib lurlparser) + target_link_libraries(network PRIVATE web_service ${OPENSSL_LIBS} httplib)
+ if (ANDROID) + if (ANDROID)
+ target_link_libraries(network PRIVATE ifaddrs) + target_link_libraries(network PRIVATE ifaddrs)
+ endif() + endif()