--- CMakeLists.txt 2013-08-25 23:42:40.054791610 +0200 +++ CMakeLists.txt.2 2013-08-26 14:05:39.392879393 +0200 @@ -27,17 +27,7 @@ set(LIBFTD2XX_LIBRARIES "") endif(LIBFTD2XX_FOUND) -if(EXISTS ${PROJECT_SOURCE_DIR}/.git) - set(VERSION_STRING "${xc3sprog_VERSION_MAJOR}.${xc3sprog_VERSION_MINOR}-git") -else(EXISTS ${PROJECT_SOURCE_DIR}/.git) - FIND_PACKAGE(Subversion) - IF(Subversion_FOUND) - Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project) - set(VERSION_STRING "${xc3sprog_VERSION_MAJOR}.${xc3sprog_VERSION_MINOR}-svn${Project_WC_REVISION}") - ELSE(Subversion_FOUND) - set(VERSION_STRING "unknown") - ENDIF(Subversion_FOUND) -endif(EXISTS ${PROJECT_SOURCE_DIR}/.git) +set(VERSION_STRING "${xc3sprog_VERSION_MAJOR}.${xc3sprog_VERSION_MINOR}-git") # Create suffix to eventually install inlib64 IF(CMAKE_SIZEOF_VOID_P EQUAL 4)