diff --git a/examples/bench/CMakeLists.txt b/examples/bench/CMakeLists.txt index f255f2dc5..119df2552 100644 --- a/examples/bench/CMakeLists.txt +++ b/examples/bench/CMakeLists.txt @@ -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) diff --git a/examples/cli/CMakeLists.txt b/examples/cli/CMakeLists.txt index 3a73776c5..7b6a187e9 100644 --- a/examples/cli/CMakeLists.txt +++ b/examples/cli/CMakeLists.txt @@ -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) diff --git a/examples/quantize/CMakeLists.txt b/examples/quantize/CMakeLists.txt index aa2828e3e..ba6fa0c1b 100644 --- a/examples/quantize/CMakeLists.txt +++ b/examples/quantize/CMakeLists.txt @@ -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) diff --git a/examples/server/CMakeLists.txt b/examples/server/CMakeLists.txt index c082546bd..4c2b48226 100644 --- a/examples/server/CMakeLists.txt +++ b/examples/server/CMakeLists.txt @@ -12,4 +12,4 @@ if (WIN32) target_link_libraries(${TARGET} PRIVATE ws2_32) endif() -install(TARGETS ${TARGET} RUNTIME) +install(TARGETS ${TARGET} RUNTIME DESTINATION bin) diff --git a/examples/talk-llama/CMakeLists.txt b/examples/talk-llama/CMakeLists.txt index 1d60097bd..7e4c48e67 100644 --- a/examples/talk-llama/CMakeLists.txt +++ b/examples/talk-llama/CMakeLists.txt @@ -38,7 +38,7 @@ if (WHISPER_SDL2) target_compile_definitions(${TARGET} PRIVATE -DLLAMA_VERSION="0.0.0") 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 diff --git a/examples/vad-speech-segments/CMakeLists.txt b/examples/vad-speech-segments/CMakeLists.txt index 857b88c9a..4550eef97 100644 --- a/examples/vad-speech-segments/CMakeLists.txt +++ b/examples/vad-speech-segments/CMakeLists.txt @@ -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)