mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-23 09:14:24 +00:00
Merge pull request #3100 from arthurschreiber/patch-5
Ensure frameworks are mentioned in libgit2.pc
This commit is contained in:
commit
5b6292a77c
@ -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