zeek/auxil/vcpkg/ports/libarchive/fix-cmake-version.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

12 lines
423 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6719a189..0fee41d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
if(APPLE AND CMAKE_VERSION VERSION_LESS "3.17.0")
message(WARNING "CMake>=3.17.0 required to make the generated shared library have the same Mach-O headers as autotools")
endif()