#from https://git.wiki.kernel.org/index.php/Installation #this imports variables here PackageSetup() if(WIN32) message(FATAL_ERROR "package ${PACKAGE} not currently available for windows") else() #configure based install set(Package_PkgConfig ON) set(Package_InSource ON) set(Package_source_setup URL http://git-core.googlecode.com/files/git-1.7.12.tar.gz URL_MD5 ceb1a6b17a3e33bbc70eadf8fce5876c ) PackageUnixConfigureAdd() # PackageUnixConfigureSimpleAdd( # http://cairographics.org/releases/cairo-1.8.10.tar.gz # ) endif()