summaryrefslogtreecommitdiffstats
path: root/kword/ConfigureChecks.cmake
blob: cf79731ffc73b5b1b1899599078021ccc39da4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()