mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
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>
12 lines
304 B
Diff
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
|