X-Git-Url: https://git.armaanb.net/?p=gen-shell.git;a=blobdiff_plain;f=CMakeLists.txt;h=31151dedca7fea02e78518484fd45d184479b830;hp=40a3ead3d04728423b0fb96c42e628c59e323f66;hb=f5b6ded9977a1df7f102c65666c9b0a89d7a4a6c;hpb=1b1c96ff94fc455d9f658395b738c30eb7fc2e16 diff --git a/CMakeLists.txt b/CMakeLists.txt index 40a3ead..31151de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")