summaryrefslogtreecommitdiffstats
path: root/Modules/VersionTag.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/VersionTag.cmake')
-rw-r--r--Modules/VersionTag.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/Modules/VersionTag.cmake b/Modules/VersionTag.cmake
deleted file mode 100644
index 682ab3e..0000000
--- a/Modules/VersionTag.cmake
+++ /dev/null
@@ -1,13 +0,0 @@
-execute_process(
- COMMAND "sh" "${CMAKE_SOURCE_DIR}/Modules/describe.sh"
- WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
- OUTPUT_VARIABLE DESCRIBE
- OUTPUT_STRIP_TRAILING_WHITESPACE
-)
-
-if(DESCRIBE STREQUAL "")
- set (VERSION_TAG "UNKNOWN")
-else()
- string(REGEX REPLACE "^v" "" VERSION_TAG "${DESCRIBE}")
-endif()
-