mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 06:19:31 +08:00
Revert "fix CMakeLists.txt"
This commit is contained in:
parent
ec6fad552b
commit
f3f528e866
@ -8,17 +8,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
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
|
set(SOURCE_FILES
|
||||||
main.cpp
|
main.cpp
|
||||||
lib/md5.cpp
|
lib/md5.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user