File: FindGMM.cmake

package info (click to toggle)
csound 1%3A6.18.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 63,220 kB
  • sloc: ansic: 192,643; cpp: 14,149; javascript: 9,654; objc: 9,181; python: 3,376; java: 3,337; sh: 1,840; yacc: 1,255; xml: 985; perl: 635; lisp: 411; tcl: 341; lex: 217; makefile: 128
file content (20 lines) | stat: -rw-r--r-- 605 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
# Try to find the GMM library.
# Once done this will define:
#  GMM_FOUND - System has the GMM library.
#  GMM_VERSION
#  GMM_INCLUDE_DIR - The GMM include directories.
#  GMM_HAS_VECTOR_OSTREAM - Wether GMM defines operator<< for std::vector

if (GMM_INCLUDE_DIR)
  	# in cache already
  	set(GMM_FOUND TRUE)
else (GMM_INCLUDE_DIR)
	find_path(GMM_INCLUDE_DIR NAMES gmm/gmm.h
	 	PATHS
	 		${INCLUDE_INSTALL_DIR}
	 		${GMM_INCLUDE_PATH}
		)
	include(FindPackageHandleStandardArgs)
	find_package_handle_standard_args(GMM DEFAULT_MSG GMM_INCLUDE_DIR)
	mark_as_advanced(GMM_INCLUDE_DIR)
endif(GMM_INCLUDE_DIR)