diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:14 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-09 17:38:40 +0200 |
commit | 5e67ace13220463842c8793ceba33d21f89d2b58 (patch) | |
tree | 616f6ee49cb3f7bd3824044ff768e1a0f4e77adc | |
parent | 12d051537088cfda5e5303a3e8a61f87759eec5d (diff) | |
download | qtmultimedia-5e67ace13220463842c8793ceba33d21f89d2b58.tar.gz |
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: I2132bb22f24bd3a683f5168e2fc5f974680f1080
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
-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.") |