[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/cmake/modules
From: Allen Winter <winter () kde ! org>
Date: 2007-09-29 15:47:50
Message-ID: 1191080870.119376.20712.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 718744 by winterz:
compute and set the XINE bugfix version so we can provide
some nice messages to the user about which bugs they might
encounter when playing audio.
M +3 -0 FindXine.cmake
--- trunk/KDE/kdebase/runtime/cmake/modules/FindXine.cmake #718743:718744
@@ -2,6 +2,8 @@
# Once done this will define
#
# XINE_FOUND - system has the XINE library
+# XINE_VERSION - XINE version
+# XINE_BUGFIX_VERSION - the XINE bugfix version
# XINE_INCLUDE_DIR - the XINE include directory
# XINE_LIBRARY - The libraries needed to use XINE
# XINE_XCB_FOUND - libxine can use XCB for video output
@@ -41,6 +43,7 @@
macro_ensure_version(1.1.1 ${XINE_VERSION} XINE_VERSION_OK)
if (XINE_VERSION_OK)
set(XINE_FOUND TRUE)
+ string(REGEX REPLACE "[0-9].[0-9]." "" XINE_BUGFIX_VERSION ${XINE_VERSION})
endif (XINE_VERSION_OK)
endif (XINE_INCLUDE_DIR AND XINE_LIBRARY AND XINECONFIG_EXECUTABLE)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic