summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-10-26 18:11:08 -0500
committerDarrell Anderson <[email protected]>2012-10-26 18:11:08 -0500
commit3144ada216561f263ba92045fd19066b3cfe6390 (patch)
treef6e7688579dc3902a0ef37b1a6a09f0072a3bee9
parent10026753cb9c2f8231ef0f5be01fd0f3a8142aef (diff)
downloadtdenetwork-3144ada216561f263ba92045fd19066b3cfe6390.tar.gz
tdenetwork-3144ada216561f263ba92045fd19066b3cfe6390.zip
Add missing file from previous commit 10026753.
-rw-r--r--kopete/plugins/nowlistening/ConfigureChecks.cmake22
1 files changed, 22 insertions, 0 deletions
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( )