diff options
Diffstat (limited to 'tqt3integration')
-rw-r--r-- | tqt3integration/CMakeLists.txt | 10 | ||||
-rw-r--r-- | tqt3integration/ConfigureChecks.cmake | 20 | ||||
-rw-r--r-- | tqt3integration/libqtkde/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tqt3integration/utils/qt/in/qtkdeintegration_x11_0.cpp.cmake | 2 |
4 files changed, 32 insertions, 4 deletions
diff --git a/tqt3integration/CMakeLists.txt b/tqt3integration/CMakeLists.txt index 01ce8a76b..c345c23e9 100644 --- a/tqt3integration/CMakeLists.txt +++ b/tqt3integration/CMakeLists.txt @@ -9,6 +9,14 @@ # ################################################# + +##### configure checks ########################## + +include( ConfigureChecks.cmake ) + + +##### subdirectories ############################ + add_subdirectory( libqtkde ) 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/libqtkde/CMakeLists.txt b/tqt3integration/libqtkde/CMakeLists.txt index 44952e35f..2a8fabb78 100644 --- a/tqt3integration/libqtkde/CMakeLists.txt +++ b/tqt3integration/libqtkde/CMakeLists.txt @@ -29,5 +29,5 @@ tde_add_library( qtkde SHARED AUTOMOC VERSION 0.0.0 LINK tdeui-shared DEPENDENCIES generate_tqt3_bindings - DESTINATION "${PLUGIN_INSTALL_DIR}/plugins/integration/" -)
\ No newline at end of file + DESTINATION "${TQT_PLUGINS_DIR}/integration/" +) diff --git a/tqt3integration/utils/qt/in/qtkdeintegration_x11_0.cpp.cmake b/tqt3integration/utils/qt/in/qtkdeintegration_x11_0.cpp.cmake index b0d5fd517..bc6d9fda6 100644 --- a/tqt3integration/utils/qt/in/qtkdeintegration_x11_0.cpp.cmake +++ b/tqt3integration/utils/qt/in/qtkdeintegration_x11_0.cpp.cmake @@ -1 +1 @@ -#define TQTKDELIBDIR @PLUGIN_INSTALL_DIR@/plugins/integration +#define TQTKDELIBDIR @TQT_PLUGINS_DIR@/integration |