From 1d99cc2628308f274f543ec0073ecfcbc1161b1e Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 1 May 2021 19:51:20 -0400 Subject: [PATCH] CMake: verify presence of libunistring for linking --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 692d7815c..067b62174 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,6 +109,7 @@ check_include_file("uniwbrk.h" HAVE_UNISTRING_H) if(NOT "${HAVE_UNISTRING_H}") message(FATAL_ERROR "Couldn't find uniwbrk.h from GNU libunistring") endif() +find_library(unistring unistring REQUIRED) set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND libunistring) set_package_properties(libunistring PROPERTIES TYPE REQUIRED) unset(HAVE_QRCODEGEN_H CACHE)