Some minor changes

This commit is contained in:
WolverinDEV 2020-11-22 16:11:46 +01:00
parent 225c006140
commit 6e93c5e25a
3 changed files with 4 additions and 5 deletions

2
rtclib

@ -1 +1 @@
Subproject commit cb9794320b09a0c8873269e2ee448526ded63863
Subproject commit 5f17f326c8d363993f0573780b609512349be366

View File

@ -308,10 +308,10 @@ if(EXISTS "${CMAKE_SOURCE_DIR}/rtclib/libteaspeak_rtc.so" AND NOT NO_RELEASE_RTC
target_link_libraries(TeaSpeakServer
${CMAKE_SOURCE_DIR}/rtclib/libteaspeak_rtc.so
)
elseif(EXISTS "${CMAKE_SOURCE_DIR}/rtclib/target/debug/libteaspeak_rtc.so")
message("Linkding against debug libteaspeak_rtc.so")
elseif(EXISTS "${CMAKE_SOURCE_DIR}/rtclib/libteaspeak_rtc_development.so")
message("Linkding against debug libteaspeak_rtc_development.so")
target_link_libraries(TeaSpeakServer
${CMAKE_SOURCE_DIR}/rtclib/target/debug/libteaspeak_rtc.so
${CMAKE_SOURCE_DIR}/rtclib/libteaspeak_rtc_development.so
)
else()
message(FATAL_ERROR "Missing librtc library file")

View File

@ -2849,7 +2849,6 @@ enum struct FeatureSupportMode {
index++
command_result ConnectedClient::handleCommandListFeatureSupport(ts::Command &cmd) {
ts::command_builder notify{this->notify_response_command("notifyfeaturesupport")};
int index{0};