externals: Move LibreSSL linking to httplib.
Neither core nor web_services use OpenSSL nor LibreSSL. However they need to link them as it's a requirement of httplib. So let's declare this within httplib instead of core and web_services.
This commit is contained in:
parent
94c2c828a5
commit
fedf750e1b
3 changed files with 9 additions and 12 deletions
|
@ -8,9 +8,4 @@ add_library(web_service STATIC
|
|||
)
|
||||
|
||||
create_target_directory_groups(web_service)
|
||||
|
||||
get_directory_property(OPENSSL_LIBS
|
||||
DIRECTORY ${PROJECT_SOURCE_DIR}/externals/libressl
|
||||
DEFINITION OPENSSL_LIBS)
|
||||
target_compile_definitions(web_service PRIVATE -DCPPHTTPLIB_OPENSSL_SUPPORT)
|
||||
target_link_libraries(web_service PRIVATE common json-headers ${OPENSSL_LIBS} httplib lurlparser)
|
||||
target_link_libraries(web_service PRIVATE common json-headers httplib lurlparser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue