diff --git a/CMakeLists.txt b/CMakeLists.txt index 4132482..4edee36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,9 +43,9 @@ target_link_libraries(camera_to_rtsp ${GSTREAMER_LIBRARIES} ${GSTREAMER_RTSP_LIBRARIES} pthread - paho-mqttpp3 - paho-mqtt3a - paho-mqtt3c + ${CMAKE_SOURCE_DIR}/third_party/lib/libpaho-mqttpp3.a + ${CMAKE_SOURCE_DIR}/third_party/lib/libpaho-mqtt3a.a + ${CMAKE_SOURCE_DIR}/third_party/lib/libpaho-mqtt3c.a ) # 运行时把 config.json 复制到 bin/ 目录