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)