Skip to content

Commit 0bd1013

Browse files
committed
Fixup
1 parent b5f4c99 commit 0bd1013

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

ports/netcdf-c/dependencies.diff

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
2-
index d06a276..65e0ef7 100644
2+
index d06a276..fcec70f 100644
33
--- a/cmake/dependencies.cmake
44
+++ b/cmake/dependencies.cmake
55
@@ -134,7 +134,22 @@ if(USE_HDF5)
@@ -34,11 +34,10 @@ index d06a276..65e0ef7 100644
3434
)
3535

3636
find_package(Threads)
37-
@@ -244,10 +258,11 @@ if( NETCDF_ENABLE_DAP2 OR NETCDF_ENABLE_DAP4 OR NETCDF_ENABLE_BYTERANGE_SUPPORT
37+
@@ -244,10 +258,10 @@ if( NETCDF_ENABLE_DAP2 OR NETCDF_ENABLE_DAP4 OR NETCDF_ENABLE_BYTERANGE_SUPPORT
3838
# ${CURL_INCLUDE_DIRS}
3939
#)
4040
if(CURL_FOUND)
41-
+ set(CURL_INCLUDE_DIRS "")
4241
+ set(CURL_LIBRARIES "")
4342
set(FOUND_CURL TRUE)
4443
target_link_libraries(netcdf
@@ -47,7 +46,7 @@ index d06a276..65e0ef7 100644
4746
)
4847
else()
4948
set(FOUND_CURL FALSE)
50-
@@ -345,6 +360,10 @@ if(NOT WIN32)
49+
@@ -345,6 +359,10 @@ if(NOT WIN32)
5150
set(HAVE_LIBM "")
5251
endif()
5352
else(NOT HAVE_LIBM)
@@ -58,15 +57,15 @@ index d06a276..65e0ef7 100644
5857
message(STATUS "Found Math library: ${HAVE_LIBM}")
5958
endif()
6059
endif()
61-
@@ -354,6 +373,7 @@ endif()
60+
@@ -354,6 +372,7 @@ endif()
6261
################################
6362
# See if we have zlib
6463
find_package(ZLIB)
6564
+set(ZLIB_LIBRARY ZLIB::ZLIB)
6665

6766
# Define a test flag for have zlib library
6867
if(ZLIB_FOUND)
69-
@@ -370,19 +390,24 @@ endif()
68+
@@ -370,19 +389,24 @@ endif()
7069
# Zips
7170
################################
7271
MESSAGE(STATUS "Checking for filter libraries")
@@ -97,7 +96,7 @@ index d06a276..65e0ef7 100644
9796
endif()
9897

9998
# Accumulate standard filters
100-
@@ -412,7 +437,8 @@ endif()
99+
@@ -412,7 +436,8 @@ endif()
101100

102101
set(STD_FILTERS "${STD_FILTERS}${FOUND_STD_FILTERS}")
103102
IF (NETCDF_ENABLE_NCZARR_ZIP)

ports/netcdf-c/portfile.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
3030
zstd NETCDF_ENABLE_FILTER_ZSTD
3131
)
3232

33-
if(NOT NETCDF_ENABLE_DAP AND NOT NETCDF_ENABLE_NCZARR)
34-
list(APPEND FEATURE_OPTIONS "-DVCPKG_LOCK_FIND_PACKAGE_CURL=OFF")
35-
else()
33+
if(NETCDF_ENABLE_DAP OR NETCDF_ENABLE_NCZARR)
3634
list(APPEND FEATURE_OPTIONS "-DVCPKG_LOCK_FIND_PACKAGE_CURL=ON")
35+
else()
36+
list(APPEND FEATURE_OPTIONS "-DVCPKG_LOCK_FIND_PACKAGE_CURL=OFF")
3737
endif()
3838

3939
if(VCPKG_TARGET_IS_UWP)

scripts/ci.feature.baseline.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,11 +1980,11 @@ vsgxchange:arm64-uwp = cascade
19801980
vsgxchange:x64-linux = cascade
19811981
vsgxchange:x64-uwp = cascade
19821982
vsgxchange:x86-windows = cascade
1983+
vtk[all]:x64-windows-static = cascade # hdf5[parallel] only supports !staticcrt
19831984
vtk[all](android) = cascade
19841985
vtk[all](arm64 & windows) = cascade # vtk-m[core] only supports !x86 & !uwp & !(arm & windows)
19851986
vtk[all](osx) = cascade
19861987
vtk[all](uwp) = cascade
1987-
vtk[all]:x64-windows-static = cascade # hdf5[parallel] only supports !staticcrt
19881988
vtk[all,cuda,mpi,vtkm]:x86-windows = cascade
19891989
vtk[cuda](arm64 & windows) = cascade # cuda[core] only supports (windows & x64 & !uwp & !xbox) | (linux & x64) | (linux & arm64)
19901990
vtk[cuda](osx) = cascade

versions/n-/netcdf-c.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": "0ba8bd1a28a8a053fa9f97bb006a8750a20082db",
4+
"git-tree": "0a6b5563c639916b6cd55a18bb093f13915f24ad",
55
"version": "4.9.3",
66
"port-version": 0
77
},

0 commit comments

Comments
 (0)