diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:14 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-09 19:55:52 +0000 |
commit | 7198871b637e7ca9146904b1a2376fd5e21f049e (patch) | |
tree | 09a8435391e30632061b7532ef0ca0037f507a53 | |
parent | 78134b2f845027928ac14c3d96ea0d93162edfe4 (diff) | |
download | qtmultimedia-7198871b637e7ca9146904b1a2376fd5e21f049e.tar.gz |
Add the use of the qt_internal_project_setup function
The function sets the required CMake variables and policies.
Task-number: QTBUG-112685
Change-Id: I2132bb22f24bd3a683f5168e2fc5f974680f1080
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
(cherry picked from commit 5e67ace13220463842c8793ceba33d21f89d2b58)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ff539623..70710b1b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ project(QtMultimedia find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Svg Widgets Quick Qml QuickTest QuickControls2 Quick3D) +qt_internal_project_setup() if(NOT TARGET Qt::Gui) message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.") |