mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Follow-up to 1719a9b3d1
:
Only disable NEON extension for Apple ARM builds, leave it enabled for Raspberry PI.
This commit is contained in:
parent
9f77335d8a
commit
cef9985b93
1 changed files with 7 additions and 1 deletions
8
deps/PNG/PNG.cmake
vendored
8
deps/PNG/PNG.cmake
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
if (APPLE)
|
||||||
|
# Only disable NEON extension for Apple ARM builds, leave it enabled for Raspberry PI.
|
||||||
|
set(_disable_neon_extension "-DPNG_ARM_NEON=off")
|
||||||
|
else ()
|
||||||
|
set(_disable_neon_extension "")
|
||||||
|
endif ()
|
||||||
|
|
||||||
prusaslicer_add_cmake_project(PNG
|
prusaslicer_add_cmake_project(PNG
|
||||||
GIT_REPOSITORY https://github.com/glennrp/libpng.git
|
GIT_REPOSITORY https://github.com/glennrp/libpng.git
|
||||||
|
@ -9,7 +15,7 @@ prusaslicer_add_cmake_project(PNG
|
||||||
-DPNG_PREFIX=prusaslicer_
|
-DPNG_PREFIX=prusaslicer_
|
||||||
-DPNG_TESTS=OFF
|
-DPNG_TESTS=OFF
|
||||||
-DDISABLE_DEPENDENCY_TRACKING=OFF
|
-DDISABLE_DEPENDENCY_TRACKING=OFF
|
||||||
-DPNG_ARM_NEON=off
|
${_disable_neon_extension}
|
||||||
)
|
)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue