summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
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 )