Skip to content

Commit cd764f0

Browse files
author
litongmacos
committed
fix stream local
1 parent 3e2eedb commit cd764f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ target_link_libraries(sdl_version ${SDL2_LIBRARIES})
3434
add_executable(simplest simplest.cpp common.cpp)
3535
target_link_libraries(simplest whisper)
3636

37-
add_executable(stream_components stream_local.cpp stream_components_audio.cpp stream_components_output.cpp stream_components_service.cpp)
38-
target_link_libraries(stream_components ${SDL2_LIBRARIES})
37+
add_executable(stream_local common.cpp common-sdl.cpp stream_local.cpp
38+
stream_components_service.cpp stream_components_audio.cpp
39+
stream_components_output.cpp
40+
)
41+
target_link_libraries(stream_local whisper ${SDL2_LIBRARIES})
3942

4043
add_executable(server server.cpp common.cpp httplib.h json.hpp inference_handler.cpp whisper_params.cpp)
4144
target_link_libraries(server whisper)

0 commit comments

Comments
 (0)