2022-10-25 18:13:08 +02:00
|
|
|
if (WHISPER_SUPPORT_SDL2)
|
|
|
|
# stream
|
|
|
|
set(TARGET stream)
|
|
|
|
add_executable(${TARGET} stream.cpp)
|
2023-01-05 20:22:48 +01:00
|
|
|
|
|
|
|
include(DefaultTargetOptions)
|
|
|
|
|
2022-10-25 18:13:08 +02:00
|
|
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(${TARGET} PRIVATE whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
endif ()
|