[x265] [PATCH] cmake: default value for X265_VERSION

Min Chen chenm003 at 163.com
Fri Oct 11 07:12:33 CEST 2013


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1381468341 -28800
# Node ID 01c1c0caba9107b8cd14e00c39d128fc72762199
# Parent  7320ecd0901c8338b5a1e1c121d2da44619ee17d
cmake: default value for X265_VERSION

diff -r 7320ecd0901c -r 01c1c0caba91 source/cmake/version.cmake
--- a/source/cmake/version.cmake	Thu Oct 10 22:11:58 2013 -0500
+++ b/source/cmake/version.cmake	Fri Oct 11 13:12:21 2013 +0800
@@ -73,4 +73,8 @@
     set(X265_VERSION "unknown")
 endif()
 
+if("${X265_VERSION}" STREQUAL "")
+    set(X265_VERSION "unknown"  CACHE STRING "x265 version string.")
+endif()
+
 message(STATUS "x265 version ${X265_VERSION}")



More information about the x265-devel mailing list