Skip to content

Commit

Permalink
do not require hdf5 and zlib, build macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Feb 12, 2025
1 parent 749a8e6 commit 43f6da0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os:
- ubuntu-latest
# - macos-latest # macOS with Apple Silicon is not supported yet
- macos-latest
conda: [ true, false ]
install_args: [ "" ]
include:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ source_group("Source Files" fileS ${SOURCE})
if(USE_NETCDF)
message(STATUS "Using NetCDF library")
# Find HDF5 library
find_package(HDF5 REQUIRED)
find_package(HDF5)
# Find NetCDF library using custom helper script
list(APPEND CMAKE_MODULE_PATH ${HELPERS})
find_package(NetCDF REQUIRED)
# Find ZLib library
find_package(ZLIB REQUIRED)
find_package(ZLIB)

# Link relevant NetCDF libraries to build
include_directories(${NetCDF_INCLUDE_DIRS})
Expand Down

0 comments on commit 43f6da0

Please sign in to comment.