Index: cmake/ConfigGen.cmake
--- cmake/ConfigGen.cmake.orig	2017-10-10 20:48:57.000000000 +0200
+++ cmake/ConfigGen.cmake	2017-10-10 23:47:19.357527000 +0200
@@ -34,7 +34,6 @@
 
   # Add targets to the build-tree export set
   export(TARGETS caffe caffeproto FILE "${PROJECT_BINARY_DIR}/CaffeTargets.cmake")
-  export(PACKAGE Caffe)
 
   # ---[ Configure install-tree CaffeConfig.cmake file ]---
 
Index: cmake/Dependencies.cmake
--- cmake/Dependencies.cmake.orig	2017-10-10 20:48:57.000000000 +0200
+++ cmake/Dependencies.cmake	2017-10-10 23:48:11.444714000 +0200
@@ -32,7 +32,7 @@
 # ---[ Google-glog
 include("cmake/External/glog.cmake")
 list(APPEND Caffe_INCLUDE_DIRS PUBLIC ${GLOG_INCLUDE_DIRS})
-list(APPEND Caffe_LINKER_LIBS PUBLIC ${GLOG_LIBRARIES})
+list(APPEND Caffe_LINKER_LIBS PUBLIC ${GLOG_LIBRARIES} -lexecinfo)
 
 # ---[ Google-gflags
 include("cmake/External/gflags.cmake")
@@ -45,7 +45,7 @@
 # ---[ HDF5
 find_package(HDF5 COMPONENTS HL REQUIRED)
 list(APPEND Caffe_INCLUDE_DIRS PUBLIC ${HDF5_INCLUDE_DIRS})
-list(APPEND Caffe_LINKER_LIBS PUBLIC ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES})
+list(APPEND Caffe_LINKER_LIBS PUBLIC ${HDF5_HL_LIBRARIES} ${HDF5_LIBRARIES})
 
 # ---[ LMDB
 if(USE_LMDB)
Index: cmake/External/glog.cmake
--- cmake/External/glog.cmake.orig	2017-10-10 20:48:57.000000000 +0200
+++ cmake/External/glog.cmake	2017-10-10 23:47:19.357786000 +0200
@@ -46,7 +46,7 @@
 
     set(GLOG_FOUND TRUE)
     set(GLOG_INCLUDE_DIRS ${glog_INSTALL}/include)
-    set(GLOG_LIBRARIES ${GFLAGS_LIBRARIES} ${glog_INSTALL}/lib/libglog.a)
+    set(GLOG_LIBRARIES ${GFLAGS_LIBRARIES} ${glog_INSTALL}/lib/libglog.a ${glog_INSTALL}/lib/libexecinfo.a)
     set(GLOG_LIBRARY_DIRS ${glog_INSTALL}/lib)
     set(GLOG_EXTERNAL TRUE)
 
Index: cmake/Summary.cmake
--- cmake/Summary.cmake.orig	2017-10-10 20:48:57.000000000 +0200
+++ cmake/Summary.cmake	2017-10-10 23:47:19.357907000 +0200
@@ -61,17 +61,6 @@
 #   caffe_extract_caffe_version()
 function(caffe_extract_caffe_version)
   set(Caffe_GIT_VERSION "unknown")
-  find_package(Git)
-  if(GIT_FOUND)
-    execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags --always --dirty
-                    ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE
-                    WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
-                    OUTPUT_VARIABLE Caffe_GIT_VERSION
-                    RESULT_VARIABLE __git_result)
-    if(NOT ${__git_result} EQUAL 0)
-      set(Caffe_GIT_VERSION "unknown")
-    endif()
-  endif()
 
   set(Caffe_GIT_VERSION ${Caffe_GIT_VERSION} PARENT_SCOPE)
   set(Caffe_VERSION "<TODO> (Caffe doesn't declare its version in headers)" PARENT_SCOPE)
