add -DDISABLE_DEPENDENCY_TRACKING to libpng.

- fixes "PNG_ARM_NEON_FILE undefined" error
This commit is contained in:
Jason Scurtu 2020-11-28 15:23:38 +01:00
parent 30d7ef2cf9
commit d01f6b8d45

1
deps/PNG/PNG.cmake vendored
View File

@ -8,6 +8,7 @@ prusaslicer_add_cmake_project(PNG
-DPNG_STATIC=ON -DPNG_STATIC=ON
-DPNG_PREFIX=prusaslicer_ -DPNG_PREFIX=prusaslicer_
-DPNG_TESTS=OFF -DPNG_TESTS=OFF
-DDISABLE_DEPENDENCY_TRACKING
) )
if (MSVC) if (MSVC)