mirror of
https://github.com/darlinghq/xcbuild.git
synced 2024-11-30 15:30:32 +00:00
Link libpng statically. (#100)
This commit is contained in:
parent
42c53c39ce
commit
065ffb7e2c
@ -28,6 +28,7 @@ if ("${IMAGE_IO}" STREQUAL "IMAGE_IO-NOTFOUND")
|
||||
set(IMAGE_IO "")
|
||||
endif ()
|
||||
|
||||
set(PNG_STATIC ON)
|
||||
find_package(PNG)
|
||||
if (NOT "${PNG_FOUND}")
|
||||
set(PNG_LIBRARIES "")
|
||||
|
Loading…
Reference in New Issue
Block a user