From 965f4da75ae5a5b308191bd61890b4277504f5b1 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 27 Dec 2018 12:35:48 +0100 Subject: Detect emoji-only messages and display them larger --- cmake/FindICU.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cmake/FindICU.cmake (limited to 'cmake') diff --git a/cmake/FindICU.cmake b/cmake/FindICU.cmake new file mode 100644 index 00000000..d033d0df --- /dev/null +++ b/cmake/FindICU.cmake @@ -0,0 +1,11 @@ +include(PkgConfigWithFallback) +find_pkg_config_with_fallback(ICU + PKG_CONFIG_NAME icu-uc + LIB_NAMES icuuc icudata + INCLUDE_NAMES unicode/umachine.h +) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(ICU + REQUIRED_VARS ICU_LIBRARY + VERSION_VAR ICU_VERSION) -- cgit v1.2.3-70-g09d2