diff options
author | Juan Ramos <juan@lunarg.com> | 2023-06-19 17:21:44 (GMT) |
---|---|---|
committer | Juan Ramos <juan@lunarg.com> | 2023-06-19 17:21:44 (GMT) |
commit | 4fed5f285030085b096c930ff03e42c7814739b2 (patch) | |
tree | b8a353d09d606c22b3d2b5a88c6d844d02b99922 /googletest | |
parent | 9b12f749fa972d08703d8459e9bf3239617491ca (diff) | |
download | googletest-4fed5f285030085b096c930ff03e42c7814739b2.zip googletest-4fed5f285030085b096c930ff03e42c7814739b2.tar.gz googletest-4fed5f285030085b096c930ff03e42c7814739b2.tar.bz2 |
cmake: Raise min to 3.6refs/pull/4288/head
From the CMake 3.27 release notes:
Compatibility with versions of CMake older than 3.5 is now
deprecated and will be removed from a future version. Calls to
cmake_minimum_required() or cmake_policy() that set the policy
version to an older value now issue a deprecation diagnostic.
This PR also removes manually setting policy CMP0048. This is
redundant since the CMake min is already 3.X
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt index d06c147..efc2c3c 100644 --- a/googletest/CMakeLists.txt +++ b/googletest/CMakeLists.txt @@ -46,8 +46,7 @@ endif() # Project version: -cmake_minimum_required(VERSION 3.5) -cmake_policy(SET CMP0048 NEW) +cmake_minimum_required(VERSION 3.6) project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C) if (POLICY CMP0063) # Visibility |