summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert G. Jakabosky <bobby@sharedrealm.com>2012-06-08 01:43:19 -0700
committerRobert G. Jakabosky <bobby@sharedrealm.com>2012-06-08 01:43:19 -0700
commit43d74c996946e6dbfccdf0302b55d1e8dce7d207 (patch)
treec020b81ecd83b506c5163d09625abdc0ba040858
parent4afdf21f1f8503c32a4b0cda8e4925e9156a5f58 (diff)
downloadluagit2-43d74c996946e6dbfccdf0302b55d1e8dce7d207.tar.gz
Add libgit2 version check.
-rwxr-xr-xCMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06250f7..85217ae 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,7 @@ set(COMMON_LIBS "${COMMON_LIBS};${LUA_LIBRARIES}")
## LibGit2
include(FindPkgConfig)
-pkg_search_module(GIT2 REQUIRED libgit2)
+pkg_search_module(GIT2 REQUIRED libgit2=0.17.0)
set(COMMON_CFLAGS "${COMMON_CFLAGS} ${GIT2_CFLAGS}")
set(COMMON_LDFLAGS "${COMMON_LDFLAGS} ${GIT2_LDFLAGS}")
set(COMMON_LIBS "${COMMON_LIBS};${GIT2_LIBRARIES}")