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

Add the use of the qt_internal_project_setup function

The function sets the required CMake variables and policies.

Pick-to: 6.5
Task-number: QTBUG-112685
Change-Id: I11a1f26d27e77234a5f4097efd13723e9f9ce01b
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
This commit is contained in:
Alexey Edelev 2023-04-12 15:04:14 +02:00
parent 139183212a
commit df0dfd4c53

View File

@ -14,4 +14,6 @@ project(QtMqtt
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick WebSockets # For tests
Gui Widgets) # For examples
qt_internal_project_setup()
qt_build_repo()