diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-22 16:24:11 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-22 18:05:29 +0000 |
commit | fb6c7fc8c086a4b91e53a56efedbcf5bb43e0ea6 (patch) | |
tree | 112cb5f77d86b429071744149decf410e7ad7857 | |
parent | 27030c8eda1d5e1ca1e4eecc66da2623aa957507 (diff) | |
download | qtwebsockets-fb6c7fc8c086a4b91e53a56efedbcf5bb43e0ea6.tar.gz |
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.
Task-number: QTBUG-95018
Change-Id: I06f634b2196b5207a4cf8f926e0886cc999fa5ac
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
(cherry picked from commit 2d30f37ebdea5914d45f00f1a8e08d2a1ed35df5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/auto/cmake/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c8c1150..1253f27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # Generated from qtwebsockets.pro. -cmake_minimum_required(VERSION 3.15.0) +cmake_minimum_required(VERSION 3.16) include(.cmake.conf) project(QtWebSockets # special case diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt index b80f5d9..0b70c4c 100644 --- a/tests/auto/cmake/CMakeLists.txt +++ b/tests/auto/cmake/CMakeLists.txt @@ -1,5 +1,5 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.16) project(qmake_cmake_files) |