diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-06-02 02:33:55 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-02 02:34:03 +0200 |
commit | 9d6d2fd57f260a4dd6c84bf6e8fab3b25422a479 (patch) | |
tree | 57999e2934a2166e9a6ba7689f5e15cd8dddc2fe | |
parent | ce4a92763fb8ce1d6eec291bf5018bfacdae48fc (diff) | |
download | tdebase-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>
-rw-r--r-- | tqt3integration/CMakeLists.txt | 10 | ||||
-rw-r--r-- | tqt3integration/ConfigureChecks.cmake | 20 | ||||
-rw-r--r-- | tqt3integration/libtqtkde/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tqt3integration/utils/tqt/in/tqtkdeintegration_x11_0.cpp.cmake | 2 |
4 files changed, 31 insertions, 3 deletions
diff --git a/tqt3integration/CMakeLists.txt b/tqt3integration/CMakeLists.txt index 07c10e17e..4ecacf158 100644 --- a/tqt3integration/CMakeLists.txt +++ b/tqt3integration/CMakeLists.txt @@ -9,6 +9,14 @@ # ################################################# + +##### configure checks ########################## + +include( ConfigureChecks.cmake ) + + +##### subdirectories ############################ + add_subdirectory( libtqtkde ) add_subdirectory( module ) -add_subdirectory( utils )
\ No newline at end of file +add_subdirectory( utils ) 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 +) diff --git a/tqt3integration/libtqtkde/CMakeLists.txt b/tqt3integration/libtqtkde/CMakeLists.txt index 9c4c5318a..dbfb65ef5 100644 --- a/tqt3integration/libtqtkde/CMakeLists.txt +++ b/tqt3integration/libtqtkde/CMakeLists.txt @@ -30,5 +30,5 @@ tde_add_library( tqtkde SHARED AUTOMOC VERSION 0.0.0 LINK tdeui-shared DEPENDENCIES generate_tqt3_bindings - DESTINATION "${PLUGIN_INSTALL_DIR}/plugins/integration/" + DESTINATION "${TQT_PLUGINS_DIR}/integration/" ) diff --git a/tqt3integration/utils/tqt/in/tqtkdeintegration_x11_0.cpp.cmake b/tqt3integration/utils/tqt/in/tqtkdeintegration_x11_0.cpp.cmake index b0d5fd517..bc6d9fda6 100644 --- a/tqt3integration/utils/tqt/in/tqtkdeintegration_x11_0.cpp.cmake +++ b/tqt3integration/utils/tqt/in/tqtkdeintegration_x11_0.cpp.cmake @@ -1 +1 @@ -#define TQTKDELIBDIR @PLUGIN_INSTALL_DIR@/plugins/integration +#define TQTKDELIBDIR @TQT_PLUGINS_DIR@/integration |