@@ -, +, @@ --- cmake/modules/FindXine.cmake | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- a/cmake/modules/FindXine.cmake +++ a/cmake/modules/FindXine.cmake @@ -36,13 +36,13 @@ find_library(XINE_LIBRARY NAMES xine ${PC_LIBXINE_LIBRARY_DIRS} ) -find_program(XINECONFIG_EXECUTABLE NAMES xine-config +find_program(XINECONFIG_EXECUTABLE NAMES pkg-config HINTS ${PC_LIBXINE_PREFIX}/bin ) 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) + exec_program(${XINECONFIG_EXECUTABLE} ARGS --modversion libxine RETURN_VALUE _return_VALUE 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}) --