summaryrefslogtreecommitdiffstats
path: root/tqt3integration/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-06-02 02:33:55 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-02 02:34:03 +0200
commit9d6d2fd57f260a4dd6c84bf6e8fab3b25422a479 (patch)
tree57999e2934a2166e9a6ba7689f5e15cd8dddc2fe /tqt3integration/ConfigureChecks.cmake
parentce4a92763fb8ce1d6eec291bf5018bfacdae48fc (diff)
downloadtdebase-9d6d2fd57f260a4dd6c84bf6e8fab3b25422a479.tar.gz
tdebase-9d6d2fd57f260a4dd6c84bf6e8fab3b25422a479.zip
Install the TDE integration library (libtqtkde) into TQt
plugins directory, instead of the TDE plugins directory. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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
+)