Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set(TARGET whisper-bench)
add_executable(${TARGET} bench.cpp)

install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

include(DefaultTargetOptions)

target_link_libraries(${TARGET} PRIVATE whisper ${CMAKE_THREAD_LIBS_INIT})
Expand Down
2 changes: 1 addition & 1 deletion examples/cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ include(DefaultTargetOptions)

target_link_libraries(${TARGET} PRIVATE common whisper ${FFMPEG_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})

install(TARGETS ${TARGET} RUNTIME)
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)
4 changes: 3 additions & 1 deletion examples/quantize/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set(TARGET quantize)
set(TARGET whisper-quantize)
add_executable(${TARGET} quantize.cpp)

install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

include(DefaultTargetOptions)

target_link_libraries(${TARGET} PRIVATE common whisper ${CMAKE_THREAD_LIBS_INIT})
2 changes: 2 additions & 0 deletions examples/server/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set(TARGET whisper-server)
add_executable(${TARGET} server.cpp httplib.h)

install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

include(DefaultTargetOptions)

target_link_libraries(${TARGET} PRIVATE common json_cpp whisper ${CMAKE_THREAD_LIBS_INIT})
Expand Down
2 changes: 2 additions & 0 deletions examples/talk-llama/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ if (WHISPER_SDL2)
unicode-data.cpp)
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})

install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

if (WHISPER_CLBLAST)
set(CLBLAST_LIBNAME clblast)
endif ()
Expand Down
Loading