[x265] [PATCH 3 of 4] cmake: nit cleanups in version.cmake

Steve Borho steve at borho.org
Sat Oct 12 23:10:28 CEST 2013


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1381607483 18000
#      Sat Oct 12 14:51:23 2013 -0500
# Node ID c032a0fbc8630309a779f6ccbde305e9729d088d
# Parent  1097e547c441831734d3c66998325fe5532620a0
cmake: nit cleanups in version.cmake

diff -r 1097e547c441 -r c032a0fbc863 source/cmake/version.cmake
--- a/source/cmake/version.cmake	Sat Oct 12 14:44:18 2013 -0500
+++ b/source/cmake/version.cmake	Sat Oct 12 14:51:23 2013 -0500
@@ -57,15 +57,15 @@
         set(HG_REVISION_ID "hg-tip")
     else()
         if(HG_REVISION_TAG STREQUAL "null")
-            SET(HG_REVISION_TAG "trunk")
+            set(HG_REVISION_TAG "trunk")
         elseif(HG_REVISION_TAG MATCHES "^r")
-            STRING(SUBSTRING ${HG_REVISION_TAG} 1 -1 HG_REVISION_TAG)
+            string(SUBSTRING ${HG_REVISION_TAG} 1 -1 HG_REVISION_TAG)
         endif()
         set(X265_LATEST_TAG ${HG_REVISION_TAG})
         if(HG_REVISION_DIST STREQUAL "0")
-            SET(HG_REVISION ${HG_REVISION_TAG})
+            set(HG_REVISION ${HG_REVISION_TAG})
         else()
-            SET(HG_REVISION
+            set(HG_REVISION
                 "${HG_REVISION_TAG}+${HG_REVISION_DIST}-${HG_REVISION_ID}")
         endif()
     endif()


More information about the x265-devel mailing list