From 3144ada216561f263ba92045fd19066b3cfe6390 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 26 Oct 2012 18:11:08 -0500 Subject: [PATCH] Add missing file from previous commit 10026753. --- .../nowlistening/ConfigureChecks.cmake | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 kopete/plugins/nowlistening/ConfigureChecks.cmake diff --git a/kopete/plugins/nowlistening/ConfigureChecks.cmake b/kopete/plugins/nowlistening/ConfigureChecks.cmake new file mode 100644 index 00000000..07800358 --- /dev/null +++ b/kopete/plugins/nowlistening/ConfigureChecks.cmake @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2012 Slavek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# xmms +if( WITH_XMMS ) + find_program( XMMS_CONFIG xmms-config ) + if( XMMS_CONFIG ) + set( HAVE_XMMS 1 ) + EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES ) + EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS ) + else( ) + tde_message_fatal( "xmms is required, but was not found on your system" ) + endif( ) +endif( )