Limit the png fix for Linux
temporarily...
This commit is contained in:
parent
9782a584f0
commit
335f04ddf0
7
deps/PNG/PNG.cmake
vendored
7
deps/PNG/PNG.cmake
vendored
@ -1,3 +1,8 @@
|
||||
set(_prefix_line "")
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(_prefix_line "-DPNG_PREFIX=prusaslicer_")
|
||||
endif()
|
||||
|
||||
prusaslicer_add_cmake_project(PNG
|
||||
GIT_REPOSITORY https://github.com/glennrp/libpng.git
|
||||
GIT_TAG v1.6.35
|
||||
@ -5,7 +10,7 @@ prusaslicer_add_cmake_project(PNG
|
||||
CMAKE_ARGS
|
||||
-DPNG_SHARED=OFF
|
||||
-DPNG_STATIC=ON
|
||||
-DPNG_PREFIX=prusaslicer_
|
||||
${_prefix_line}
|
||||
-DPNG_TESTS=OFF
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user