1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00

Use fixed qt_add_resource BASE argument

Pick-to: 6.1
Task-number: QTBUG-86726
Change-Id: I8372086c40043a6bd1d306b6bfb711e96ddc7cb7
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
Joerg Bornemann 2021-05-19 15:33:47 +02:00
parent fb1d4f501f
commit 77e9a2124e

View File

@ -10,8 +10,10 @@ project(QtMqtt
LANGUAGES CXX C
)
# Make sure we use the fixed BASE argument of qt_add_resource.
set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) # special case
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick WebSockets # For tests # special case
Gui Widgets) # For examples # special case
qt_build_repo()