summaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-13 13:44:58 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-13 13:44:58 -0600
commitcfae1cca83739aef7cf185ee7d8fc63b271fed9f (patch)
treecba6695d3c4e7ed165657aa9210f8bedacd3bbac /cmake/modules
parentb53881c6bd1aaf9841770120258a068a683b8bad (diff)
downloadsink-cfae1cca83739aef7cf185ee7d8fc63b271fed9f.tar.gz
sink-cfae1cca83739aef7cf185ee7d8fc63b271fed9f.zip
Removed unnecessary message
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindLibgit2.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/modules/FindLibgit2.cmake b/cmake/modules/FindLibgit2.cmake
index fbfb32f..3c0f78a 100644
--- a/cmake/modules/FindLibgit2.cmake
+++ b/cmake/modules/FindLibgit2.cmake
@@ -26,8 +26,6 @@ FIND_LIBRARY(LIBGIT2_LIBRARIES NAMES git2
26 ${PC_LIBGIT2_LIBRARY_DIRS} 26 ${PC_LIBGIT2_LIBRARY_DIRS}
27 ) 27 )
28 28
29message("foo: ${LIBGIT2_INCLUDE_DIR} : ${PC_LIBGIT2_INCLUDEDIR} : ${PC_LIBGIT2_INCLUDE_DIRS}")
30
31# get version from header, should work on windows, too 29# get version from header, should work on windows, too
32if(LIBGIT2_INCLUDE_DIR) 30if(LIBGIT2_INCLUDE_DIR)
33 file(STRINGS "${LIBGIT2_INCLUDE_DIR}/git2/version.h" LIBGIT2_H REGEX "^#define LIBGIT2_VERSION \"[^\"]*\"$") 31 file(STRINGS "${LIBGIT2_INCLUDE_DIR}/git2/version.h" LIBGIT2_H REGEX "^#define LIBGIT2_VERSION \"[^\"]*\"$")