mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-21 13:37:47 +00:00
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
319 B
CMake
11 lines
319 B
CMake
if (WHISPER_SUPPORT_SDL2)
|
|
# command
|
|
set(TARGET command)
|
|
add_executable(${TARGET} command.cpp)
|
|
|
|
include(DefaultTargetOptions)
|
|
|
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
|
target_link_libraries(${TARGET} PRIVATE whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
endif ()
|