File: K3DFindPNG.cmake

package info (click to toggle)
k3d 0.8.0.2-18
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 40,948 kB
  • sloc: cpp: 171,303; ansic: 24,129; xml: 6,995; python: 5,796; makefile: 671; sh: 22
file content (20 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)