Skip to content

Commit

Permalink
Merge pull request #177 from galkahana/m1-support
Browse files Browse the repository at this point in the history
m1 support
  • Loading branch information
galkahana authored May 21, 2022
2 parents 5230015 + fe4941b commit e51c4b9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project(PDFHUMMUS)
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)

set(USE_BUNDLED TRUE CACHE BOOL "Whether to use bundled libraries")

Expand Down
2 changes: 1 addition & 1 deletion FreeType/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)
project(FreeType)

set(FREETYPE_INCLUDE_DIRS ${FreeType_SOURCE_DIR}/include PARENT_SCOPE)
Expand Down
2 changes: 1 addition & 1 deletion LibAesgm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)
project(LibAesgm)

set(LIBAESGM_INCLUDE_DIRS ${LibAesgm_SOURCE_DIR} PARENT_SCOPE)
Expand Down
2 changes: 1 addition & 1 deletion LibJpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)
project(LibJpeg)

set(LIBJPEG_INCLUDE_DIRS ${LibJpeg_SOURCE_DIR} PARENT_SCOPE)
Expand Down
4 changes: 2 additions & 2 deletions LibPng/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)
project(LibPng)

# https://github.com/julienr/libpng-android/issues/6
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "aarch64")
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "aarch64" OR ${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "arm64")
set(CMAKE_C_FLAGS -DPNG_ARM_NEON_OPT=0 ${CMAKE_C_FLAGS})
message (STATUS "libPng Arm64 - disable fpu Neon optimization")
endif()
Expand Down
2 changes: 1 addition & 1 deletion LibTiff/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)
project(LibTiff)

set(LIBTIFF_INCLUDE_DIRS ${LibTiff_SOURCE_DIR} PARENT_SCOPE)
Expand Down
2 changes: 1 addition & 1 deletion PDFWriterTestPlayground/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project(PDFWriterTestPlayground)
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)


add_executable(PDFWriterTestPlayground
Expand Down
2 changes: 1 addition & 1 deletion ZLib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8.12)
project (Zlib)

include(CheckIncludeFile)
Expand Down

0 comments on commit e51c4b9

Please sign in to comment.