Skip to content

Commit a73f5da

Browse files
committed
Fix proj
1 parent d626484 commit a73f5da

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

ports/vtk/libproj.patch

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index d477f8b..375a2a2 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -389,7 +389,6 @@ endif ()
6+
# Handle the requirement of `sqlitebin` for `proj`.
7+
set(vtk_sqlite_build_binary 0)
8+
if ("VTK::libproj" IN_LIST vtk_modules)
9+
- set(vtk_sqlite_build_binary 1)
10+
endif ()
11+
12+
cmake_dependent_option(VTK_ENABLE_KITS "Enable kits compilation" OFF
113
diff --git a/ThirdParty/libproj/CMakeLists.txt b/ThirdParty/libproj/CMakeLists.txt
2-
index f8888876..d57c4c18 100644
14+
index f888887..d57c4c1 100644
315
--- a/ThirdParty/libproj/CMakeLists.txt
416
+++ b/ThirdParty/libproj/CMakeLists.txt
5-
@@ -4,11 +4,13 @@ vtk_module_third_party(
6-
VERSION
7-
"8.1.0"
17+
@@ -4,10 +4,12 @@ vtk_module_third_party(
18+
VERSION "8.1.0"
819
STANDARD_INCLUDE_DIRS
920
EXTERNAL
1021
- PACKAGE LibPROJ

versions/v-/vtk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "8ea576bebc8558e00574f6720af684552e8dfcda",
4+
"git-tree": "d553e5cc796ae476e4d65718a3e630b54cd8c660",
55
"version-semver": "9.3.0-pv5.12.1",
66
"port-version": 10
77
},

0 commit comments

Comments
 (0)