File: FindCcrtp.cmake

package info (click to toggle)
twinkle 1%3A1.10.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,100 kB
  • ctags: 7,063
  • sloc: cpp: 62,216; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FIND_PATH(CCRTP_INCLUDE_DIR ccrtp/rtp.h)
FIND_LIBRARY(CCRTP_LIBRARIES NAMES ccrtp)

IF(CCRTP_INCLUDE_DIR AND CCRTP_LIBRARIES)
	SET(CCRTP_FOUND TRUE)
ENDIF(CCRTP_INCLUDE_DIR AND CCRTP_LIBRARIES)

IF(CCRTP_FOUND)
	IF (NOT Ccrtp_FIND_QUIETLY)
		MESSAGE(STATUS "Found ccrtp includes:	${CCRTP_INCLUDE_DIR}/ccrtp/rtp.h")
		MESSAGE(STATUS "Found ccrtp library:	${CCRTP_LIBRARIES}")
	ENDIF (NOT Ccrtp_FIND_QUIETLY)
ELSE(CCRTP_FOUND)
	IF (Ccrtp_FIND_REQUIRED)
		MESSAGE(FATAL_ERROR "Could NOT find ccrtp development files")
	ENDIF (Ccrtp_FIND_REQUIRED)
ENDIF(CCRTP_FOUND)