diff options
author | James Zern <jzern@google.com> | 2021-04-23 15:45:14 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2021-04-23 15:45:14 -0700 |
commit | b5a0bc8f9d7a70acc35b5aa0e200c046b6232cea (patch) | |
tree | 6c8a9b18938ef7d56d7d4e8a63ae4a1b1b688434 | |
parent | 485fb67b324aec5298765e899dc054459d3946e5 (diff) | |
download | libwebm-b5a0bc8f9d7a70acc35b5aa0e200c046b6232cea.tar.gz |
*.cmake: remove redundant cmake_minimum_required()
This is set in the top-level CMakeLists.txt as recommended in the
function's documentation.
This also removes a deprecation warning in cmake 3.20:
CMake Deprecation Warning at build/msvc_runtime.cmake:8 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Bug: webm:1680
Change-Id: I99780547180a14b81a5ddb3ed0d62ee43e6ed035
-rw-r--r-- | build/cxx_flags.cmake | 1 | ||||
-rw-r--r-- | build/msvc_runtime.cmake | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/build/cxx_flags.cmake b/build/cxx_flags.cmake index 9e96889..1aa6a86 100644 --- a/build/cxx_flags.cmake +++ b/build/cxx_flags.cmake @@ -5,7 +5,6 @@ ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All contributing project authors may ## be found in the AUTHORS file in the root of the source tree. -cmake_minimum_required(VERSION 3.2) include(CheckCXXCompilerFlag) diff --git a/build/msvc_runtime.cmake b/build/msvc_runtime.cmake index d7d7add..4f53a36 100644 --- a/build/msvc_runtime.cmake +++ b/build/msvc_runtime.cmake @@ -5,7 +5,6 @@ ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All contributing project authors may ## be found in the AUTHORS file in the root of the source tree. -cmake_minimum_required(VERSION 2.8) if (MSVC) # CMake defaults to producing code linked to the DLL MSVC runtime. In libwebm |