Skip to content

Commit 41b6a2e

Browse files
committed
Also fix gflags
1 parent 87595de commit 41b6a2e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ci/vcpkg/ports.patch

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,30 @@ index 7cab6f726..697ab1bb4 100644
2525
)
2626
vcpkg_cmake_install()
2727
vcpkg_copy_pdbs()
28+
diff --git a/ports/gflags/0001-patch-dir.patch b/ports/gflags/0001-patch-dir.patch
29+
index d3aaa00fbe..2a460c64ac 100644
30+
--- a/ports/gflags/0001-patch-dir.patch
31+
+++ b/ports/gflags/0001-patch-dir.patch
32+
@@ -1,8 +1,17 @@
33+
diff --git a/CMakeLists.txt b/CMakeLists.txt
34+
-index 3709073..8e919cb 100644
35+
+index 657a1f4..842abea 100644
36+
--- a/CMakeLists.txt
37+
+++ b/CMakeLists.txt
38+
-@@ -503,7 +503,7 @@ endif ()
39+
+@@ -70,7 +70,7 @@
40+
+ ## - GFLAGS_INSTALL_SHARED_LIBS
41+
+ ## - GFLAGS_INSTALL_STATIC_LIBS
42+
+
43+
+-cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR)
44+
++cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
45+
+
46+
+ if (POLICY CMP0042)
47+
+ cmake_policy (SET CMP0042 NEW)
48+
+@@ -515,7 +515,7 @@ endif ()
49+
# ----------------------------------------------------------------------------
50+
# installation rules
51+
set (EXPORT_NAME ${PACKAGE_NAME}-targets)
2852
diff --git a/ports/llvm/portfile.cmake b/ports/llvm/portfile.cmake
2953
index a79c72a59..6b7fa6a66 100644
3054
--- a/ports/llvm/portfile.cmake

0 commit comments

Comments
 (0)