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