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