summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-07-10 21:15:50 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-07-12 18:56:14 +0200
commit3ab4742c006a02d7650aeda0ad359c3231ab477d (patch)
tree75c38bf065b8c2e95ed4bf70b21df6cdd8b4757c /src/printsupport
parent41977d456b152d2b37c3941b3bf1b839d6096067 (diff)
CMake: Use QtBase_SOURCE_DIR instead of QT_SOURCE_TREE
...where applicable to use a known CMake-provided variable in favor of our own cooked up one. This affects four plugins that are not supposed to be built out of tree, meaning QtBase_SOURCE_DIR is available (and identical to QT_SOURCE_TREE). Task-number: QTBUG-88090 Change-Id: I27f012e6c5fd99c3239a1dd65c0811c819dbcfe9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/printsupport')
-rw-r--r--src/printsupport/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printsupport/CMakeLists.txt b/src/printsupport/CMakeLists.txt
index 43dd89ed85..676631649d 100644
--- a/src/printsupport/CMakeLists.txt
+++ b/src/printsupport/CMakeLists.txt
@@ -181,7 +181,7 @@ qt_internal_extend_target(PrintSupport CONDITION QT_FEATURE_printdialog AND UNIX
dialogs/qprintsettingsoutput.ui
dialogs/qprintwidget.ui
INCLUDE_DIRECTORIES
- ${QT_SOURCE_TREE}/src/plugins/printsupport/cups
+ ${QtBase_SOURCE_DIR}/src/plugins/printsupport/cups
ENABLE_AUTOGEN_TOOLS
uic
)