SET(K3D_PNG_FOUND 0)

find_package(PNG)

IF(PNG_FOUND)
	SET(K3D_PNG_INCLUDE_DIRS
		${PNG_INCLUDE_DIRS}
		)

	SET(K3D_PNG_LIB_DIRS
		${PNG_LIBRARY_DIRS}
		)

	SET(K3D_PNG_LIBS
		${PNG_LIBRARIES}
		)

	SET(K3D_PNG_FOUND 1)
ENDIF(PNG_FOUND)

