diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-12-11 11:38:20 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-12-14 14:00:21 +0000 |
commit | 42d6e5c5fa840c5c486752c4ab699e37af72c516 (patch) | |
tree | d8c3831facf2f6ee326935ef0a8c69a7cac0582a /src/testlib | |
parent | 3a8d8344e5301badd9bcef79d7f622fd16487438 (diff) |
CMake: Simplify
* Only import features once
* Move Core specific code into its CMakeLists.txt file
* More consistently use target names like "Core" to
refer to "Qt modules". We tend to require either "Core"
or "QtCore" in places, which I find confusing.
Change-Id: Id54161bc5468412750cb9eb7eeb15de3812e8a09
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testlib/CMakeLists.txt b/src/testlib/CMakeLists.txt index 3650fd0e37..ed8d2c8df7 100644 --- a/src/testlib/CMakeLists.txt +++ b/src/testlib/CMakeLists.txt @@ -49,11 +49,11 @@ add_qt_module(Test qxmltestlogger.cpp qxunittestlogger.cpp LIBRARIES - CorePrivate + Qt::CorePrivate PUBLIC_LIBRARIES - Core + Qt::Core DEFINES - QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII + QT_NO_CAST_FROM_ASCII QT_NO_FOREACH QT_NO_DATASTREAM ) |