Warning, /libraries/ktextaddons/textspeechtotext/speechtotext/plugins/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-3-Clause 0002 # SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 add_subdirectory(google) 0004 add_subdirectory(whisper) 0005 0006 if (SPEAK_TO_TEXT_VOSK_PLUGIN) 0007 find_package(Vosk) 0008 if (NOT ${Vosk_FOUND}) 0009 message(WARNING "Vosk not found! Download vosk from https://github.com/alphacep/vosk-api/releases 0010 and copy the library and the 'vosk-api.h' file in ${PROJECT_SOURCE_DIR}") 0011 return() 0012 endif() 0013 0014 add_subdirectory(vosk) 0015 endif()