1
This commit is contained in:
parent
bb33ccf0f8
commit
a4add5014a
@ -48,6 +48,11 @@ target_link_libraries(camera_to_rtsp
|
|||||||
${CMAKE_SOURCE_DIR}/third_party/lib/libpaho-mqtt3c.a
|
${CMAKE_SOURCE_DIR}/third_party/lib/libpaho-mqtt3c.a
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_target_properties(camera_to_rtsp PROPERTIES
|
||||||
|
BUILD_RPATH "\$ORIGIN/lib"
|
||||||
|
INSTALL_RPATH "\$ORIGIN/lib"
|
||||||
|
)
|
||||||
|
|
||||||
# 运行时把 config.json 复制到 bin/ 目录
|
# 运行时把 config.json 复制到 bin/ 目录
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET camera_to_rtsp POST_BUILD
|
TARGET camera_to_rtsp POST_BUILD
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user