curl mbedtls target_link_libraries
This commit is contained in:
parent
96d58edb8a
commit
9effe783c7
|
@ -43,6 +43,8 @@ endif()
|
|||
add_subdirectory(curl)
|
||||
|
||||
if((UNIX AND NOT MBEDTLS_FOUND) OR ANDROID)
|
||||
# HACK: Add the mbedtls include directory.
|
||||
target_include_directories(libcurl_static SYSTEM PRIVATE "${CMAKE_SOURCE_DIR}/Externals/mbedtls/include")
|
||||
# HACK: Manually link with the mbedtls libraries.
|
||||
target_link_libraries(libcurl_static PRIVATE
|
||||
MbedTLS::mbedtls
|
||||
MbedTLS::mbedx509)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue