examples : fix executable example targets (#3600)

* cmake:
    - added `whisper-` prefix to unprefixed targets: `quantize`, `lsp`,
      `vad-speech-segments`
    - added `install(TARGETS ${TARGET} RUNTIME)` where it was missing

Signed-off-by: Peter A. <ink.splatters@pm.me>

* .github/workflows/build.yml: quantize -> whisper-quantize

Signed-off-by: Peter A. <ink.splatters@pm.me>

---------

Signed-off-by: Peter A. <ink.splatters@pm.me>
This commit is contained in:
Peter A.
2026-01-13 08:08:18 +01:00
committed by GitHub
parent 679bdb53db
commit a96310871a
6 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
set(TARGET quantize)
set(TARGET whisper-quantize)
add_executable(${TARGET} quantize.cpp)
include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE common whisper ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)