Compare commits

...

2 Commits

Author SHA1 Message Date
06d7148408
add fallback to dynamic toxcore 2024-04-27 13:56:06 +02:00
33875cb58b
string cant be empty 2024-04-27 13:53:26 +02:00
2 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,11 @@ add_subdirectory(./c-toxcore)
# the sad case
add_library(toxcore INTERFACE)
target_link_libraries(toxcore INTERFACE toxcore_static)
if (TARGET toxcore_static)
target_link_libraries(toxcore INTERFACE toxcore_static)
else()
target_link_libraries(toxcore INTERFACE toxcore_shared)
endif()
# HACK: "install" api headers into binary dir
configure_file(

View File

@ -293,7 +293,7 @@ bool renderContactBig(
ImGui::TextUnformatted(slt->text.c_str(), slt->text.c_str() + slt->first_line_length);
ImGui::PopStyleColor();
} else {
ImGui::TextDisabled(""); // or dummy?
ImGui::TextDisabled(" "); // or dummy?
}
}