summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindLIBGIT2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/FindLIBGIT2.cmake')
-rw-r--r--cmake/Modules/FindLIBGIT2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/FindLIBGIT2.cmake b/cmake/Modules/FindLIBGIT2.cmake
index 2d13f0bff..b352665bb 100644
--- a/cmake/Modules/FindLIBGIT2.cmake
+++ b/cmake/Modules/FindLIBGIT2.cmake
@@ -16,6 +16,7 @@ ENDIF ()
FIND_PATH( LIBGIT2_INCLUDE_DIR
NAMES git2.h
HINTS
+ ${CMAKE_CURRENT_SOURCE_DIR}/../install/include
${CMAKE_CURRENT_SOURCE_DIR}/../libgit2/include
/usr/local/include
/usr/include
@@ -26,6 +27,7 @@ NAMES
libgit2.a
git2
HINTS
+ ${CMAKE_CURRENT_SOURCE_DIR}/../install/lib
${CMAKE_CURRENT_SOURCE_DIR}/../libgit2/build
/usr/local/include
/usr/include