This commit is contained in:
Alexander Zhirov 2023-03-20 13:56:40 +03:00
parent c45b30924c
commit e8874acc69
7 changed files with 10 additions and 6 deletions

View File

@ -7,8 +7,8 @@ add_subdirectory(libtgvoip)
find_package(PkgConfig REQUIRED)
find_package(Threads REQUIRED)
find_package(Td 1.7.10 REQUIRED)
find_package(spdlog 0.17 REQUIRED)
find_package(Td 1.8.0 REQUIRED)
find_package(spdlog 1.11.0 REQUIRED)
pkg_check_modules(PJSIP libpjproject>=2.8 REQUIRED)
pkg_check_modules(OPUS opus REQUIRED)

View File

@ -2525,7 +2525,7 @@ BOOST_SML_NAMESPACE_END
#if defined(__clang__)
#pragma clang diagnostic pop
#elif defined(__GNUC__)
#undef __has_builtin
//#undef __has_builtin
#pragma GCC diagnostic pop
#elif defined(_MSC_VER)
#undef __has_builtin

View File

@ -4,7 +4,7 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(OPUS opus REQUIRED)
pkg_check_modules(OPENSSL openssl REQUIRED)
pkg_check_modules(PJSIP libpjproject>=2.8 REQUIRED)
find_package(spdlog 0.17)
find_package(spdlog 1.11.0)
add_library(libtgvoip STATIC
BlockingQueue.cpp

View File

@ -85,6 +85,7 @@ AudioIO* AudioIO::Create(std::string inputDevice, std::string outputDevice){
#endif
#endif
#endif
return NULL;
}
bool AudioIO::Failed(){

View File

@ -18,6 +18,7 @@
#include <iostream>
#include <td/telegram/Log.h>
#include "logging.h"
#include <spdlog/sinks/rotating_file_sink.h>
void init_logging(Settings &settings) {

View File

@ -20,6 +20,7 @@
#include <mutex>
#include <queue>
#include <optional>
#include <condition_variable>
template<typename T>

View File

@ -17,5 +17,6 @@
#include <algorithm>
#include "utils.h"
#include <string>
bool is_digits(const std::string &str) { return std::all_of(str.begin(), str.end(), ::isdigit); };