Install some example programs in user accessible PATH.

This allow the key programs whisper-bench, whisper-quantize, whisper-server
and whisper-talk-llama to be available for users in addition to the shared
library.
This commit is contained in:
Petter Reinholdtsen 2025-02-26 14:45:07 +01:00
parent 47b9eb37a3
commit 135163bcac
6 changed files with 6 additions and 6 deletions

View File

@ -5,4 +5,4 @@ include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE whisper ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

View File

@ -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)

View File

@ -4,4 +4,4 @@ add_executable(${TARGET} quantize.cpp)
include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE common whisper ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

View File

@ -12,4 +12,4 @@ if (WIN32)
target_link_libraries(${TARGET} PRIVATE ws2_32)
endif()
install(TARGETS ${TARGET} RUNTIME)
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)

View File

@ -37,7 +37,7 @@ if (WHISPER_SDL2)
target_include_directories(${TARGET} PRIVATE . ${SDL2_INCLUDE_DIRS})
target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)
if(WIN32)
# It requires Windows 8.1 or later for PrefetchVirtualMemory

View File

@ -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)