Skip to content

Commit 9333fc2

Browse files
authored
Merge pull request libgit2#5265 from tiennou/fix/xcode-11
cmake: correct the link stanza for CoreFoundation
2 parents ef5a385 + a088a1f commit 9333fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Modules/SelectHTTPSBackend.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ IF(HTTPS_BACKEND)
4949

5050
SET(GIT_SECURE_TRANSPORT 1)
5151
LIST(APPEND LIBGIT2_SYSTEM_INCLUDES ${SECURITY_INCLUDE_DIR})
52-
LIST(APPEND LIBGIT2_LIBS ${COREFOUNDATION_LIBRARIES} ${SECURITY_LIBRARIES})
52+
LIST(APPEND LIBGIT2_LIBS ${COREFOUNDATION_LDFLAGS} ${SECURITY_LDFLAGS})
5353
LIST(APPEND LIBGIT2_PC_LIBS ${COREFOUNDATION_LDFLAGS} ${SECURITY_LDFLAGS})
5454
ELSEIF (HTTPS_BACKEND STREQUAL "OpenSSL")
5555
IF (NOT OPENSSL_FOUND)

0 commit comments

Comments
 (0)