diff options
| author | scivision <scivision@users.noreply.github.com> | 2024-10-06 00:47:26 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-10-11 12:26:27 -0400 |
| commit | 2291b3f27f932a7c09bd5ce28be0d5dbe4f3612f (patch) | |
| tree | a11165cdb4d38c8328ff5ae4bcfc413047f55f8f /test cases/unit | |
| parent | 739683943aa8caca37343b105a0f363abf772fa9 (diff) | |
| download | meson-2291b3f27f932a7c09bd5ce28be0d5dbe4f3612f.tar.gz | |
test: avoid need for explict CMake minimum
This mitigates maintenance burden as CMake minimum version isn't
relevant for these tests. CMake >= 3.31 warns if CMake minimum version
is less than 3.10.
ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9875
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/1 soname/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/unit/1 soname/CMakeLists.txt b/test cases/unit/1 soname/CMakeLists.txt index c4f2e3eb9..47571b1c1 100644 --- a/test cases/unit/1 soname/CMakeLists.txt +++ b/test cases/unit/1 soname/CMakeLists.txt @@ -7,7 +7,7 @@ # soname to 1.2.3 but Autotools sets it to 1. project(vertest C) -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION ${CMAKE_VERSION}) add_library(nover SHARED versioned.c) |
