From 0367d8e503ca5df1eae359929b8753050ccd9980 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期三, 17 七月 2019 13:37:26 +0800
Subject: [PATCH] 增加国标28181的处理

---
 CMakeLists.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66c98bf..2e84a40 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,9 +21,10 @@
     ${CMAKE_SOURCE_DIR}/csrc/thirdparty 
     ${CMAKE_SOURCE_DIR}/csrc/thirdparty/whereami
     ${CMAKE_SOURCE_DIR}/csrc/thirdparty/ffmpeg/include
+    ${CMAKE_SOURCE_DIR}/csrc/thirdparty/gb28181/include
 )
 
-link_directories(/usr/local/cuda/lib64)
+link_directories(/usr/local/cuda/lib64 ${CMAKE_SOURCE_DIR}/csrc/thirdparty/gb28181/lib)
 
 set(CMAKE_LIBRARY_PATH ${CMAKE_SOURCE_DIR}/csrc/thirdparty/ffmpeg/lib ${CMAKE_LIBRARY_PATH})
     find_library(avutil NAMES libavutil.a )
@@ -49,4 +50,4 @@
 
 add_library(${BIN} SHARED ${FFMPEG_LIST} ${CMAKE_SOURCE_DIR}/csrc/cffmpeg.cpp)
 
-target_link_libraries(${BIN} ${LINK_LIB} numa nppig nppicc nppc -lz pthread dl)
+target_link_libraries(${BIN} ${LINK_LIB} numa nppig nppicc nppc -lz pthread dl rtspclient StreamParse)

--
Gitblit v1.8.0