CMake: Bump almost all cmake_minimum_required calls to 3.16

Needed for subsequent change that will check and error out if the
version is lower than 3.16. We do that to ensure all policies
introduced by CMake up to version 3.16 have their behavior set to
NEW.

Pick-to: 6.2
Task-number: QTBUG-95018
Change-Id: I43575e48cb4ddb70b80f09e0432a2f88b01bec86
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
Alexandru Croitor 2021-09-22 16:23:03 +02:00
parent 42ab2bfa61
commit 03ff403826

View File

@ -1,6 +1,6 @@
project(test_plugins)
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0056 NEW)
find_package(Qt5WaylandClient REQUIRED)