Colorful emoji in reaction

Use ICU to determine if the string contains only emojis
This commit is contained in:
Carl Schwan
2023-08-10 15:37:37 +02:00
committed by Carl Schwan
parent 3a4f71de7f
commit f22107c8ab
5 changed files with 67 additions and 21 deletions

View File

@@ -319,9 +319,10 @@ if(NOT ANDROID)
else()
target_sources(neochat PRIVATE trayicon.cpp trayicon.h)
endif()
target_link_libraries(neochat PUBLIC KF6::ConfigWidgets KF6::WindowSystem)
target_link_libraries(neochat PUBLIC KF6::ConfigWidgets KF6::WindowSystem ICU::uc)
target_compile_definitions(neochat PUBLIC -DHAVE_COLORSCHEME)
target_compile_definitions(neochat PUBLIC -DHAVE_WINDOWSYSTEM)
target_compile_definitions(neochat PUBLIC -DHAVE_ICU)
endif()
if (NOT ANDROID AND NOT WIN32 AND NOT APPLE)