X-Git-Url: https://git.piment-noir.org/?p=deb_x265.git;a=blobdiff_plain;f=source%2Fcmake%2Fversion.cmake;h=0662cda3d8b11273a02985198ca1350ae2902f34;hp=b6adfb9003ed9a546a463ceb7f3a5f06fc4494d5;hb=b53f7c52d8280ab63876efd6eb292c21430ac607;hpb=5c9b45285dd64723ad1dac380b98a7b1f3095674 diff --git a/source/cmake/version.cmake b/source/cmake/version.cmake index b6adfb9..0662cda 100644 --- 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 -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 @@ -22,9 +22,9 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/../.hg_archival.txt) 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_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}")