summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..c1de8bc
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,23 @@
+###########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+###########################################
+
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+
+##### find tdepyuic executable
+
+find_program( TDEPYUIC_EXECUTABLE
+ NAMES tdepyuic
+ PATHS ${TDE_PREFIX}/bin
+)
+
+if( NOT TDEPYUIC_EXECUTABLE )
+ tde_message_fatal( "tdepyuic is required, but was not found on your system" )
+endif()