forked from extern/whisper.cpp
84c6b42e65
- update from 3.0 (from 2014) to 3.19 (from 2020) - move some global setting onto the targets (through a cmake include)
11 lines
316 B
CMake
11 lines
316 B
CMake
if (WHISPER_SUPPORT_SDL2)
|
|
# stream
|
|
set(TARGET stream)
|
|
add_executable(${TARGET} stream.cpp)
|
|
|
|
include(DefaultTargetOptions)
|
|
|
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
|
target_link_libraries(${TARGET} PRIVATE whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
endif ()
|