aboutsummaryrefslogtreecommitdiffstats
path: root/main/bctoolbox/cmake-lib-version-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bctoolbox/cmake-lib-version-fix.patch')
-rw-r--r--main/bctoolbox/cmake-lib-version-fix.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/main/bctoolbox/cmake-lib-version-fix.patch b/main/bctoolbox/cmake-lib-version-fix.patch
deleted file mode 100644
index f2e88c34b1..0000000000
--- a/main/bctoolbox/cmake-lib-version-fix.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/cmake/BcToolboxCMakeUtils.cmake b/cmake/BcToolboxCMakeUtils.cmake
-index fd4894e..da8daf1 100644
---- a/cmake/BcToolboxCMakeUtils.cmake
-+++ b/cmake/BcToolboxCMakeUtils.cmake
-@@ -147,29 +147,7 @@ function(bc_parse_full_version version major minor patch)
- endfunction()
-
- function(bc_compute_lib_version OUTPUT_VERSION default_version)
-- find_program(GIT_EXECUTABLE git NAMES Git CMAKE_FIND_ROOT_PATH_BOTH)
-- if(GIT_EXECUTABLE)
-- execute_process(
-- COMMAND "${GIT_EXECUTABLE}" "describe"
-- OUTPUT_VARIABLE GIT_DESCRIBE_VERSION
-- OUTPUT_STRIP_TRAILING_WHITESPACE
-- ERROR_QUIET
-- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
-- )
--
-- # parse git describe version
-- if (NOT (GIT_DESCRIBE_VERSION MATCHES "^([0-9]+)[.]([0-9]+)[.]([0-9]+)(-alpha|-beta)?(-[0-9]+)?(-g[0-9a-f]+)?$"))
-- message(FATAL_ERROR "invalid git describe version: '${GIT_DESCRIBE_VERSION}'")
-- endif()
-- set(version_major ${CMAKE_MATCH_1})
-- set(version_minor ${CMAKE_MATCH_2})
-- set(version_patch ${CMAKE_MATCH_3})
--
-- # format lib version
-- set(${OUTPUT_VERSION} "${version_major}.${version_minor}.${version_patch}" CACHE STRING "")
-- else()
- set(${OUTPUT_VERSION} "${default_version}" CACHE STRING "")
-- endif()
- endfunction()
-
- function(bc_compute_full_version OUTPUT_VERSION)