whisper.cpp/examples/command/CMakeLists.txt

11 lines
274 B
CMake
Raw Normal View History

if (WHISPER_SDL2)
set(TARGET whisper-command)
2022-11-25 19:06:56 +02:00
add_executable(${TARGET} command.cpp)
include(DefaultTargetOptions)
target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS ${TARGET} RUNTIME)
2022-11-25 19:06:56 +02:00
endif ()