mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
Ensure frameworks are mentioned in libgit2.pc
When building on Mac OS X, the `CoreFoundation` and `Security` frameworks where missing from `Libs.private` in the generated `libgit2.pc` file.
This commit is contained in:
parent
b162d97a4f
commit
7a5c755989
@ -156,10 +156,12 @@ INCLUDE_DIRECTORIES(src include)
|
|||||||
|
|
||||||
IF (SECURITY_FOUND)
|
IF (SECURITY_FOUND)
|
||||||
MESSAGE("-- Found Security ${SECURITY_DIRS}")
|
MESSAGE("-- Found Security ${SECURITY_DIRS}")
|
||||||
|
SET(LIBGIT2_PC_LIBS "${LIBGIT2_PC_LIBS} -framework Security")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (COREFOUNDATION_FOUND)
|
IF (COREFOUNDATION_FOUND)
|
||||||
MESSAGE("-- Found CoreFoundation ${COREFOUNDATION_DIRS}")
|
MESSAGE("-- Found CoreFoundation ${COREFOUNDATION_DIRS}")
|
||||||
|
SET(LIBGIT2_PC_LIBS "${LIBGIT2_PC_LIBS} -framework CoreFoundation")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user