blob: 1942c75267f1cb0bb2d0f45639361dae05af202d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- cmake/modules/FindXine.cmake 2011-09-26 06:34:51.000000000 -0300
+++ cmake/modules/FindXine.cmake 2012-01-25 20:37:43.000000000 -0200
@@ -42,7 +42,7 @@
)
if (XINE_INCLUDE_DIR AND XINE_LIBRARY AND XINECONFIG_EXECUTABLE)
- exec_program(${XINECONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE XINE_VERSION ERROR_QUIET)
+ execute_process(COMMAND ${XINECONFIG_EXECUTABLE} --version OUTPUT_VARIABLE XINE_VERSION ERROR_QUIET)
if("${XINE_VERSION}" VERSION_GREATER "1.1.0") #if (... VERSION_GREATER) is new since cmake 2.6.2
set(XINE_VERSION_OK TRUE)
string(REGEX REPLACE "[0-9]\\.[0-9]\\." "" XINE_BUGFIX_VERSION ${XINE_VERSION})
|