summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSerghei Amelian <serghei.amelian@gmail.com>2012-02-12 21:44:42 +0200
committerSerghei Amelian <serghei.amelian@gmail.com>2012-02-12 21:44:42 +0200
commit7eef82aa49ab12a98683dc7ac40e9bff9a4ffead (patch)
tree6b1b771a96fae08cb30aada3c68efacdb93b729c /ConfigureChecks.cmake
parent3da4ad187228cb8bf99a1ba8aacff8fee72af302 (diff)
downloadtdemultimedia-7eef82aa49ab12a98683dc7ac40e9bff9a4ffead.tar.gz
tdemultimedia-7eef82aa49ab12a98683dc7ac40e9bff9a4ffead.zip
cmake port for kmix
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 00000000..00a246ce
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,22 @@
+#################################################
+#
+# (C) 2012 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+#################################################
+
+# ALSA
+if( WITH_ALSA )
+ find_package( ALSA )
+ if( NOT ALSA_FOUND )
+ tde_message_fatal( "ALSA support is requested, but was not found on your system" )
+ endif( NOT ALSA_FOUND )
+ set( HAVE_LIBASOUND2 1 )
+endif( WITH_ALSA )
+
+
+# required stuff
+find_package( TQt )
+find_package( TDE )