We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9cf9a0 commit 64a78a8Copy full SHA for 64a78a8
src/CMakeLists.txt
@@ -232,8 +232,10 @@ IF (USE_HTTPS)
232
SET(GIT_MBEDTLS 1)
233
LIST(APPEND LIBGIT2_INCLUDES ${MBEDTLS_INCLUDE_DIR})
234
LIST(APPEND LIBGIT2_LIBS ${MBEDTLS_LIBRARIES})
235
- LIST(APPEND LIBGIT2_PC_LIBS ${MBEDTLS_LDFLAGS})
236
- LIST(APPEND LIBGIT2_PC_REQUIRES "mbedtls")
+ # mbedTLS has no pkgconfig file, hence we can't require it
+ # https://github.com/ARMmbed/mbedtls/issues/228
237
+ # For now, pass its link flags as our own
238
+ LIST(APPEND LIBGIT2_PC_LIBS ${MBEDTLS_LIBRARIES})
239
ELSEIF (HTTPS_BACKEND STREQUAL "WinHTTP")
240
# WinHTTP setup was handled in the WinHTTP-specific block above
241
ELSE()
0 commit comments