diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-06 08:37:49 +0300 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-06 08:37:49 +0300 |
commit | 5b6292a77c343a4fe41b2a10ae99193e20577ee8 (patch) | |
tree | 4ecd38541faf3e6ca9333735a2ce78370f209336 | |
parent | b162d97a4f33dbb8d24c2b07ff2f379a074e24ef (diff) | |
parent | 7a5c755989da9b364b6c1d2f88aca33c00df39b2 (diff) |
Merge pull request #3100 from arthurschreiber/patch-5
Ensure frameworks are mentioned in libgit2.pc
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c8bf7ab8..935129d04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,10 +156,12 @@ INCLUDE_DIRECTORIES(src include) IF (SECURITY_FOUND) MESSAGE("-- Found Security ${SECURITY_DIRS}") + SET(LIBGIT2_PC_LIBS "${LIBGIT2_PC_LIBS} -framework Security") ENDIF() IF (COREFOUNDATION_FOUND) MESSAGE("-- Found CoreFoundation ${COREFOUNDATION_DIRS}") + SET(LIBGIT2_PC_LIBS "${LIBGIT2_PC_LIBS} -framework CoreFoundation") ENDIF() |