Skip to content

Commit

Permalink
Install libpng on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Nov 27, 2023
1 parent 9bc1aaa commit f65138b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cibuildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BEFORE_BUILD: python -m pip install --upgrade pip && python -m pip install -r requirements-build.txt
CIBW_BEFORE_BUILD_MACOS: brew install libpng
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_BEFORE_TEST: python -m pip install --upgrade pip && python -m pip install -r requirements-test.txt
CIBW_TEST_COMMAND: >
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://blosc.org
# License: GNU Affero General Public License v3.0 (see LICENSE.txt)

set(GRK_BUILD_LIBPNG ON)
set(GRK_BUILD_LIBPNG OFF)
set(GRK_BUILD_JPEG OFF)
set(GRK_BUILD_CORE_EXAMPLES OFF)
# if (UNIX AND NOT APPLE)
Expand Down

0 comments on commit f65138b

Please sign in to comment.