]> git.armaanb.net Git - gen-shell.git/blobdiff - CMakeLists.txt
further reduction
[gen-shell.git] / CMakeLists.txt
index 40a3ead3d04728423b0fb96c42e628c59e323f66..31151dedca7fea02e78518484fd45d184479b830 100644 (file)
@@ -9,19 +9,6 @@ include (CheckFunctionExists)
 include (CheckStructHasMember)
 include (CheckCXXCompilerFlag)
 
-message ("-- Looking for SHA1 references")
-if (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
-  set (HAVE_COMMIT true)
-  execute_process (COMMAND git log -1 --pretty=format:%h
-                   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
-                   OUTPUT_VARIABLE COMMIT)
- message ("-- Found SHA1 reference: ${COMMIT}")
-endif (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
-
-set (PACKAGE "${PROJECT_NAME}")
-set (PACKAGE_NAME "${PACKAGE}")
-set (PACKAGE_TARNAME "${PACKAGE}")
-
 # include the readline library finder module
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")