Link libpng statically. (#100)

This commit is contained in:
Marc Salem 2016-07-27 17:39:24 -07:00 committed by Grant Paul
parent 42c53c39ce
commit 065ffb7e2c

View File

@ -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 "")