summaryrefslogtreecommitdiffstats
path: root/lib/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ConfigureChecks.cmake')
-rw-r--r--lib/ConfigureChecks.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/ConfigureChecks.cmake b/lib/ConfigureChecks.cmake
new file mode 100644
index 000000000..5dc7d7566
--- /dev/null
+++ b/lib/ConfigureChecks.cmake
@@ -0,0 +1,15 @@
+###############################################################################
+# Trinity KOffice #
+# --------------- #
+# This file is licensed under the terms of GNU GPL v3 or later. #
+# Improvements and feedback are welcome. #
+###############################################################################
+
+find_program(HAVE_MAKETDEWIDGETS maketdewidgets)
+if (NOT HAVE_MAKETDEWIDGETS)
+ message(WARNING "maketdewidgets not found, won't generate Designer widgets")
+endif()
+
+if (BUILD_KROSS)
+ include(lib/kross/ConfigureChecks.cmake)
+endif() \ No newline at end of file