Line 0
Link Here
|
|
|
1 |
--- CMakeLists.txt.orig 2020-01-13 02:56:13 UTC |
2 |
+++ CMakeLists.txt |
3 |
@@ -11,6 +11,7 @@ endif() |
4 |
# more useful error reports from users. |
5 |
option(BYN_ENABLE_ASSERTIONS "Enable assertions" ON) |
6 |
|
7 |
+if (FALSE) |
8 |
find_package(Git QUIET REQUIRED) |
9 |
execute_process(COMMAND |
10 |
"${GIT_EXECUTABLE}" --git-dir=${CMAKE_CURRENT_SOURCE_DIR}/.git describe --tags |
11 |
@@ -24,6 +25,7 @@ if(${GIT_HASH_RESULT}) |
12 |
set(BINARYEN_VERSION_INFO "(unable to determine version)") |
13 |
else() |
14 |
set(BINARYEN_VERSION_INFO "${GIT_HASH}") |
15 |
+endif() |
16 |
endif() |
17 |
configure_file(config.h.in config.h) |
18 |
|