diff options
author | Robert G. Jakabosky <bobby@sharedrealm.com> | 2012-06-08 01:43:19 -0700 |
---|---|---|
committer | Robert G. Jakabosky <bobby@sharedrealm.com> | 2012-06-08 01:43:19 -0700 |
commit | 43d74c996946e6dbfccdf0302b55d1e8dce7d207 (patch) | |
tree | c020b81ecd83b506c5163d09625abdc0ba040858 | |
parent | 4afdf21f1f8503c32a4b0cda8e4925e9156a5f58 (diff) | |
download | luagit2-43d74c996946e6dbfccdf0302b55d1e8dce7d207.tar.gz |
Add libgit2 version check.
-rwxr-xr-x | CMakeLists.txt | 2 |
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}") |