From af7931f3ab6621fd77bfccd26ca4865c8b6b2360 Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Sun, 6 Aug 2023 19:23:14 +0200 Subject: [PATCH] add librtmp include --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index efccedb7..a8a25fbb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,6 +155,7 @@ pkg_check_modules(RTMP QUIET librtmp) MESSAGE("RTMP_FOUND = ${RTMP_FOUND} RTMP_INCLUDE_DIRS=${RTMP_INCLUDE_DIRS} RTMP_LIBRARIES=${RTMP_LIBRARIES}") if (RTMP_FOUND) add_definitions(-DHAVE_RTMP) + target_include_directories (${CMAKE_PROJECT_NAME} PUBLIC ${RTMP_INCLUDE_DIRS}) target_link_libraries (${CMAKE_PROJECT_NAME} ${RTMP_LIBRARIES}) endif()