File: K3DFindCARVE.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 (18 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SET(K3D_CARVE_FOUND 0)

FIND_PATH(K3D_CARVE_INCLUDE_DIR carve
	/usr/include
	/usr/local/include
	DOC "Directory where the carve directory, containing the headers, is located"
	)
MARK_AS_ADVANCED(K3D_CARVE_INCLUDE_DIR)

FIND_LIBRARY(K3D_CARVE_LIBRARY intersect
	DOC "The CARVE polyhedron boolean library"
	)
MARK_AS_ADVANCED(K3D_CARVE_LIBRARY)

IF(K3D_CARVE_INCLUDE_DIR AND K3D_CARVE_LIBRARY)
	SET(K3D_CARVE_FOUND 1)
ENDIF()