mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 19:19:02 +08:00
Do the png fix for all platforms
This commit is contained in:
parent
c829b7c044
commit
5ef309205d
6
deps/PNG/PNG.cmake
vendored
6
deps/PNG/PNG.cmake
vendored
@ -1,7 +1,3 @@
|
|||||||
set(_prefix_line "")
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
||||||
set(_prefix_line "-DPNG_PREFIX=prusaslicer_")
|
|
||||||
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
|
||||||
@ -10,7 +6,7 @@ prusaslicer_add_cmake_project(PNG
|
|||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DPNG_SHARED=OFF
|
-DPNG_SHARED=OFF
|
||||||
-DPNG_STATIC=ON
|
-DPNG_STATIC=ON
|
||||||
${_prefix_line}
|
-DPNG_PREFIX=prusaslicer_
|
||||||
-DPNG_TESTS=OFF
|
-DPNG_TESTS=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user