1
This commit is contained in:
parent
bb427430b7
commit
6a95089c97
@ -51,8 +51,8 @@ target_link_libraries(camera_to_rtsp
|
||||
# 运行时把 config.json 复制到 bin/ 目录
|
||||
add_custom_command(
|
||||
TARGET camera_to_rtsp POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:camera_to_rtsp>
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_SOURCE_DIR}/config.json
|
||||
$<TARGET_FILE_DIR:camera_to_rtsp>/config.json.default
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user