From f3f528e866d6871420ae8a311576d4a3433f15ec Mon Sep 17 00:00:00 2001 From: Yancey Wang Date: Sat, 22 Jul 2023 17:30:56 -0400 Subject: [PATCH] Revert "fix CMakeLists.txt" --- CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e15b14..b79c4d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,17 +8,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_CXX_STANDARD 11) -execute_process(COMMAND git rev-parse HEAD - OUTPUT_VARIABLE GIT_VER - OUTPUT_STRIP_TRAILING_WHITESPACE - ERROR_QUIET) -if (GIT_VER STREQUAL "") - set(GIT_VER "unknown") -endif() -file(WRITE git_version.h "const char *gitversion = \"${GIT_VER}\";") - -file(REMOVE makefile) - set(SOURCE_FILES main.cpp lib/md5.cpp