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:
parent
47b9eb37a3
commit
135163bcac
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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,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)
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ if (WIN32)
|
|||
target_link_libraries(${TARGET} PRIVATE ws2_32)
|
||||
endif()
|
||||
|
||||
install(TARGETS ${TARGET} RUNTIME)
|
||||
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue