Files
gentoo/dev-libs/unittest++/files/unittest++-2.0.0-cmake4.patch
Louis Sautier 4be4b32766 dev-libs/unittest++: raise cmake_minimum_required to fix warning
Fixes the following warning:
```
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
```
See also https://github.com/unittest-cpp/unittest-cpp/pull/192.

Closes: https://bugs.gentoo.org/964647
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
2026-05-10 19:22:17 +02:00

12 lines
304 B
Diff

Bump minimum cmake version, this builds with no warnings
beyond request to bump to 3.10
https://bugs.gentoo.org/951811
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.1)
+cmake_minimum_required(VERSION 3.10)
project(UnitTest++)
option(UTPP_USE_PLUS_SIGN