File: FindLibRTMP.cmake

package info (click to toggle)
ettercap 1:0.8.2-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 5,468 kB
  • ctags: 6,333
  • sloc: ansic: 47,337; yacc: 310; lex: 204; makefile: 121; xml: 31; sh: 24
file content (13 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
FIND_PATH(RTMP_INCLUDE_DIR librtmp/rtmp.h)
FIND_LIBRARY(RTMP_LIBRARIES rtmp)

IF(RTMP_INCLUDE_DIR AND RTMP_LIBRARIES)
   SET(RTMP_FOUND TRUE)
ENDIF(RTMP_INCLUDE_DIR AND RTMP_LIBRARIES)

IF(RTMP_FOUND)
   MESSAGE(STATUS "Found rtmp includes:	${RTMP_INCLUDE_DIR}/rtmp.h")
   MESSAGE(STATUS "Found rtmp library: ${RTMP_LIBRARIES}")
ELSE(RTMP_FOUND)
   MESSAGE(FATAL_ERROR "Could NOT find rtmp development files")
ENDIF(RTMP_FOUND)