Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Feb 28, 2024
1 parent a371dd2 commit cccf996
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if (WIN32)
elseif (LINUX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
elseif (APPLE)
if(${APNGASM_COMPILE_TARGET} STREQUAL "x86_64")
if(${APNGASM_COMPILE_TARGET} STREQUAL "armv8")
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0")
else()
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")
Expand Down
6 changes: 3 additions & 3 deletions scripts/get_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def install_deps(arch: str):
settings.append("compiler.runtime=static")
elif platform.system() == "Darwin":
settings.append("os=Macos")
if arch == "x86_64":
settings.append("os.version=10.15")
else:
if arch == "armv8":
settings.append("os.version=11.0")
else:
settings.append("os.version=10.15")
settings.append("compiler=apple-clang")
settings.append("compiler.libcxx=libc++")
elif platform.system() == "Linux":
Expand Down

0 comments on commit cccf996

Please sign in to comment.