mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-29 10:09:04 +01:00
8 lines
283 B
CMake
8 lines
283 B
CMake
if (WHISPER_SUPPORT_SDL2)
|
|
# command
|
|
set(TARGET command)
|
|
add_executable(${TARGET} command.cpp)
|
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
|
target_link_libraries(${TARGET} PRIVATE whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
endif ()
|