Files
gentoo/net-analyzer/zmap/files/zmap-4.3.2-cmake.patch
Nicolas PARLANT e443855ba9 net-analyzer/zmap: bump cmake_minimum_required and fix pkgconfig detection
bump cmake_minimum_required

use find_package to check pkgconfig instead of find_program to avoid
failure without native-symlinks

Closes: https://bugs.gentoo.org/952027
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41276
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-28 17:23:35 +00:00

13 lines
401 B
Diff

Compat with cmake-4
https://github.com/zmap/zmap/pull/933.patch
diff --git a/CMakeLists.txt b/CMakeLists.txt
index baa524a..60e3839 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
project(ZMAP C)
set(ZMAP_VERSION DEVELOPMENT) # Change DEVELOPMENT to version number for release