File: K3DFindGooglePerftools.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-- 491 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SET(K3D_GOOGLE_PERFTOOLS_FOUND 0)

FIND_PATH(K3D_GOOGLE_PERFTOOLS_INCLUDE_DIR google
	/usr/include
	/usr/local/include
	DOC "Directory where the google directory, containing the perftools headers, is located"
	)
MARK_AS_ADVANCED(K3D_GOOGLE_PERFTOOLS_INCLUDE_DIR)

FIND_LIBRARY(K3D_PROFILER_LIBRARY profiler
	DOC "The Google profiler library"
	)
MARK_AS_ADVANCED(K3D_PROFILER_LIBRARY)

IF(K3D_GOOGLE_PERFTOOLS_INCLUDE_DIR AND K3D_PROFILER_LIBRARY)
	SET(K3D_GOOGLE_PERFTOOLS_FOUND 1)
ENDIF()