summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-04-24 12:18:37 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-27 02:45:51 +0200
commit5cdb5457400812f7d9d2a92c6ee4922c4af627c7 (patch)
tree118841fa26d59800eeb57e71b12f10551a925888 /config.h.cmake
parente43a3c98104250fe06959b5352d17bff6e611bfb (diff)
downloadtqtinterface-5cdb5457400812f7d9d2a92c6ee4922c4af627c7.tar.gz
tqtinterface-5cdb5457400812f7d9d2a92c6ee4922c4af627c7.zip
Allow tqtinterface to build without OpenGL support.
This should close bug 2645. Some cosmetics here and there. Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..558e25c
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,11 @@
+#define VERSION "@TQT_VERSION@"
+
+// Defined if you have fvisibility and fvisibility-inlines-hidden support.
+#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+
+/* Defined if you build with OpenGL */
+#cmakedefine HAVE_OPENGL 1