repositories
/
deb_x265.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.4+222+hg5f9f7194267b
[deb_x265.git]
/
source
/
cmake
/
version.cmake
diff --git
a/source/cmake/version.cmake
b/source/cmake/version.cmake
index b6adfb9003ed9a546a463ceb7f3a5f06fc4494d5..0662cda3d8b11273a02985198ca1350ae2902f34 100644
(file)
--- a/
source/cmake/version.cmake
+++ b/
source/cmake/version.cmake
@@
-6,9
+6,9
@@
endif()
find_package(Git QUIET) # present in 2.8.8
# defaults, in case everything below fails
find_package(Git QUIET) # present in 2.8.8
# defaults, in case everything below fails
-set(X265_VERSION "
unknown
")
-set(X265_LATEST_TAG "
0.0
")
-set(X265_TAG_DISTANCE "
0
")
+set(X265_VERSION "
1.4+222+hg5f9f7194267b
")
+set(X265_LATEST_TAG "
1.4
")
+set(X265_TAG_DISTANCE "
222
")
if(EXISTS ${CMAKE_SOURCE_DIR}/../.hg_archival.txt)
# read the lines of the archive summary file to extract the version
if(EXISTS ${CMAKE_SOURCE_DIR}/../.hg_archival.txt)
# read the lines of the archive summary file to extract the version
@@
-22,9
+22,9
@@
if(EXISTS ${CMAKE_SOURCE_DIR}/../.hg_archival.txt)
set(hg_${key} ${value})
endforeach()
if(DEFINED hg_tag)
set(hg_${key} ${value})
endforeach()
if(DEFINED hg_tag)
- set(X265_VERSION ${hg_tag}
CACHE STRING "x265 version string."
)
+ set(X265_VERSION ${hg_tag})
set(X265_LATEST_TAG ${hg_tag})
set(X265_LATEST_TAG ${hg_tag})
- set(X265_TAG_DISTANCE "
0
")
+ set(X265_TAG_DISTANCE "
222
")
elseif(DEFINED hg_node)
string(SUBSTRING "${hg_node}" 0 16 hg_id)
set(X265_VERSION "${hg_latesttag}+${hg_latesttagdistance}-${hg_id}")
elseif(DEFINED hg_node)
string(SUBSTRING "${hg_node}" 0 16 hg_id)
set(X265_VERSION "${hg_latesttag}+${hg_latesttagdistance}-${hg_id}")