mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -06:00
Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.
wx is built with png as a dependency, wxpng is disabled.
This commit is contained in:
parent
2bd524849a
commit
572b5ba8bb
37 changed files with 13948 additions and 157 deletions
13
deps/PNG/PNG.cmake
vendored
Normal file
13
deps/PNG/PNG.cmake
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
prusaslicer_add_cmake_project(PNG
|
||||
GIT_REPOSITORY https://github.com/glennrp/libpng.git
|
||||
GIT_TAG v1.6.35
|
||||
DEPENDS ${ZLIB_PKG}
|
||||
CMAKE_ARGS
|
||||
-DPNG_SHARED=OFF
|
||||
-DPNG_STATIC=ON
|
||||
-DPNG_TESTS=OFF
|
||||
)
|
||||
|
||||
if (MSVC)
|
||||
add_debug_dep(dep_PNG)
|
||||
endif ()
|
Loading…
Add table
Add a link
Reference in a new issue