summaryrefslogtreecommitdiffstats
path: root/tqt3integration/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tqt3integration/ConfigureChecks.cmake')
-rw-r--r--tqt3integration/ConfigureChecks.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/tqt3integration/ConfigureChecks.cmake b/tqt3integration/ConfigureChecks.cmake
new file mode 100644
index 000000000..9347391d4
--- /dev/null
+++ b/tqt3integration/ConfigureChecks.cmake
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2019 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+
+##### check for tqt plugins dir #################
+
+execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE}
+ tqt-mt --variable=pluginsdir
+ OUTPUT_VARIABLE TQT_PLUGINS_DIR
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+)