summaryrefslogtreecommitdiffstats
path: root/kword/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-09-30 00:04:56 +0300
committerPhilippe Mavridis <philippe.mavridis@yandex.com>2025-05-15 21:00:25 +0300
commit04e86613f67d171cc965fce64a4310c0d25c98e1 (patch)
tree08a85d43bc40568f94259601339ccd7e1de11773 /kword/ConfigureChecks.cmake
parentcf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff)
downloadkoffice-feat/cmake-port.tar.gz
koffice-feat/cmake-port.zip
WIP: CMake portfeat/cmake-port
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
Diffstat (limited to 'kword/ConfigureChecks.cmake')
-rw-r--r--kword/ConfigureChecks.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/kword/ConfigureChecks.cmake b/kword/ConfigureChecks.cmake
new file mode 100644
index 000000000..cf79731ff
--- /dev/null
+++ b/kword/ConfigureChecks.cmake
@@ -0,0 +1,18 @@
+###############################################################################
+# Trinity KOffice #
+# --------------- #
+# This file is licensed under the terms of GNU GPL v3 or later. #
+# Improvements and feedback are welcome. #
+###############################################################################
+
+check_cxx_source_compiles("
+#include <tqglobal.h>
+#ifdef TQT_NO_SQL
+# error \"No TQt-SQL support\"
+#endif
+" HAS_TQT_SQL)
+
+if (NOT HAS_TQT_SQL)
+ message(WARNING "TQt-SQL support is not installed, the KWord MailMerge dialog "
+ "will be compiled without SQL source support.")
+endif() \ No newline at end of file