Skip to content

Commit

Permalink
Deactivate external deps for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Jan 4, 2024
1 parent 51d40e6 commit 3676498
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ set(GRK_BUILD_JPEG OFF)
set(GRK_BUILD_CORE_EXAMPLES OFF)

# Needed in the continuous integration
if(DEFINED ENV{CMAKE_OSX_ARCHITECTURES})
if("$ENV{CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64")
set(GRK_BUILD_LIBTIFF ON)
set(GRK_BUILD_LIBPNG ON)
set(GRK_BUILD_JPEG ON)
set(GRK_BUILD_LCMS2 ON)
endif()
endif()
#if(DEFINED ENV{CMAKE_OSX_ARCHITECTURES})
# if("$ENV{CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64")
# set(GRK_BUILD_LIBTIFF ON)
# set(GRK_BUILD_LIBPNG ON)
# set(GRK_BUILD_JPEG ON)
# set(GRK_BUILD_LCMS2 ON)
# endif()
#endif()

# Avoid adding unneeded files to the wheel
set(GRK_BUILD_PKGCONFIG_FILES OFF)
Expand Down

0 comments on commit 3676498

Please sign in to comment.