diff options
| author | manuel <manuel@mausz.at> | 2016-11-24 21:27:41 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-11-24 21:27:41 +0100 |
| commit | 8cdf8dec703d882b46ca50a769fabb95ffc48e2c (patch) | |
| tree | f7fe8233508f79d3dc94f8f445ce6342e7dfbdbb /project/cmake/modules/FindRTMP.cmake | |
| parent | 5823b05feb29a59510c32a9c28ca18b50b9b6399 (diff) | |
| download | kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.tar.gz kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.tar.bz2 kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.zip | |
sync with upstream
Diffstat (limited to 'project/cmake/modules/FindRTMP.cmake')
| -rw-r--r-- | project/cmake/modules/FindRTMP.cmake | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/project/cmake/modules/FindRTMP.cmake b/project/cmake/modules/FindRTMP.cmake deleted file mode 100644 index 432b77d..0000000 --- a/project/cmake/modules/FindRTMP.cmake +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | # - Try to find rtmp | ||
| 2 | # Once done this will define | ||
| 3 | # | ||
| 4 | # RTMP_FOUND - system has librtmp | ||
| 5 | # RTMP_INCLUDE_DIRS - the librtmp include directory | ||
| 6 | # RTMP_LIBRARIES - The librtmp libraries | ||
| 7 | |||
| 8 | if(PKG_CONFIG_FOUND) | ||
| 9 | pkg_check_modules (RTMP librtmp) | ||
| 10 | list(APPEND RTMP_INCLUDE_DIRS ${RTMP_INCLUDEDIR}) | ||
| 11 | else() | ||
| 12 | find_path(RTMP_INCLUDE_DIRS librtmp/rtmp.h) | ||
| 13 | find_library(RTMP_LIBRARIES rtmp) | ||
| 14 | endif() | ||
| 15 | |||
| 16 | include(FindPackageHandleStandardArgs) | ||
| 17 | find_package_handle_standard_args(RTMP DEFAULT_MSG RTMP_INCLUDE_DIRS RTMP_LIBRARIES) | ||
| 18 | |||
| 19 | list(APPEND RTMP_DEFINITIONS -DHAS_LIBRTMP=1) | ||
| 20 | |||
| 21 | mark_as_advanced(RTMP_INCLUDE_DIRS RTMP_LIBRARIES RTMP_DEFINITIONS) | ||
