Группа :: Система/Библиотеки
Пакет: libaom
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libaom-alt-version.patch
Скачать
Скачать
From 9aa09b5bd02b81460373961f5b68359b2d8ce55c Mon Sep 17 00:00:00 2001
From: Aleksei Nikiforov <darktemplar@altlinux.org>
Date: Mon, 12 Aug 2019 10:34:14 +0300
Subject: [PATCH] Allow version override
---
build/cmake/version.cmake | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build/cmake/version.cmake b/build/cmake/version.cmake
index dd953a37a..10f181cd2 100644
--- a/build/cmake/version.cmake
+++ b/build/cmake/version.cmake
@@ -42,6 +42,12 @@ if(EXISTS "${GIT_EXECUTABLE}")
endif()
endif()
+if("${aom_version}" STREQUAL "")
+ if (EXISTS "${AOM_ROOT}/version")
+ file(READ "${AOM_ROOT}/version" aom_version)
+ endif ()
+endif()
+
if("${aom_version}" STREQUAL "")
set(aom_version "${AOM_ROOT}/CHANGELOG")
endif()
--
2.29.3