Files
conan-build/recipes/pcre2/all/patches/0001-fix-cmake-1.39.patch
2024-12-26 12:02:17 +03:00

16 lines
485 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -100,11 +100,11 @@
# 2021-08-28 PH increased minimum version
# 2021-08-28 PH added test for realpath()
-PROJECT(PCRE2 C)
# Increased minimum to 2.8.5 to support GNUInstallDirs.
# Increased minimum to 3.0.0 because older than 2.8.12 is deprecated.
CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)
+PROJECT(PCRE2 C)
# Set policy CMP0026 to avoid warnings for the use of LOCATION in
# GET_TARGET_PROPERTY. This should no longer be required.